HI. I'm trying to create my 1st append query and am having some trouble. I have an append query set to duplicate some record data to a new record in the same table through an on-click event on my form. When I click the button, the query runs but rather than appending the single record, it asks if I want to update all records in the table. Here is my code:
Private Sub TestNextPM_Click()
Dim stDocName As String
stDocName = "QryCreateNextPM"
DoCmd.OpenQuery stDocName, , acAdd
End Sub
How do I append a single record instead of my entire table?
thanks
Private Sub TestNextPM_Click()
Dim stDocName As String
stDocName = "QryCreateNextPM"
DoCmd.OpenQuery stDocName, , acAdd
End Sub
How do I append a single record instead of my entire table?
thanks