Microsoft
Software
Hardware
Network
Question : How do I add a comment to a record?
Using a form I have a record list that has a comment field. Also, on the form I have a comment box (text box) that allows me to update the comment field of the selected record on the list box once the submit button is clicked. Is there a way that I append the comments so that I can show historical comments? Provided is teh code:
Private Sub cmdSubmit_Click()
Dim strQuery As String
Dim i As Long
With lstReport
For i = 0 To .ListCount - 1
If .Selected(i) Then
strQuery = "Update [Membership Data] SET Comments = '" & txtComments & "' WHERE ID = " & .ItemData(i)
CurrentProject.Connection.
Execute strQuery
End If
Next i
End With
txtComments = ""
cboID.Value = ""
cboID2.Value = ""
MsgBox "Updated Successfully. Thank You"
Frame0 = 2
lstReport.RowSource = "SELECT * FROM [Membership Data] WHERE [Membership Type] = 'Advantage Plus'"
End Sub
Answer : How do I add a comment to a record?
Do you mean using ip helper to forward the dhcp request?
Do you have DHCP spoofing enabled on your network?
Any ACL / PACL applied on full path between host and server?
Random Solutions
Outlook 2007 Continually asks for an Exchange Server password
Location tab missing from My Documents properties
Should a misanthrope donate?
Why won''t my computer access the Internet using IE after MSFT updates?
Powershell script that can query a OU and get all group name,Members and count of members into a csv/Excel.
Does safari support sftp native?
VB.NET Setup Installing App Files Without Asking What Folder to Install
How can I get a Buy Now url for PayPal rather than the input button described to use?
Mailbox Quota full
Internet shortcut via batch file