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  
 
programming4us programming4us