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
Globally Hide Mouse after Inactive without using constantly running Timer Interval
vb.net Insert comma every 3 characters
How do I configure exchange 2007 to allow iPhone/iPad to work.
red ant
not seeing auto-recover version of a force-closed excel (2007) document
qmail ,mutt problem: Error sending message, child exited 127 (Exec error.).
how to truncate the transaction logs in exchange 2010 after NT backup
I need to query each group in an OU in the Root Domain and get the group names that has exact identical users.
How to get an USB speaker to work with Eee PC 900 Xandros Linux
Split String in C#