I am using buttons to add data. I used this code. It works perfectly on the main form.
If Me.NewRecord = False Then
DoCmd.GoToRecord acDataForm, "frmTicket", acNewRec
Me.CustomerID = 1
End If
I need to add another button on the main form that adds data to the...