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
How do I resolve this error "javax.xml.ws.WebServiceEx
ception .... Place the resource correctly in the classpath.?
Facing issues in OCS federation..
Using jqzoom (jquery)
One user Exchange 2007 cannot send external email
Problem with Templated User Control
code for express check out with Paypal.
Drop Down List
What SAN cert Exchange 2010 for UM, OA?
column header
About direct X / Open GL issue