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
Allow odbc connection to MySQL
Remotely add Computers into Domain.
Question about Exchange 2010 mailbox move.
Forgot how to do 1 to many SQLs
paypal receiving preferences have different options for different accounts
Saving Hosts File on iMac OSx
Does QuickBooks allow you to save an Invoice layout from an earlier version say QBE2008 and allow you to import the old file
XP runs slow error 0XC000005e,The Security System detected an attempted downgrade attack for server
htaccess rewrite
Cant install fonts on a Mac