I have a form that on open runds 5ea Queries. These queries are used to append needed data to a table where I have 2ea fields set as primary keys to ensure the combination of the two (2) are not added multiple times.
I want it to run this way as it supports and works perfectly for the other tasks I am using this set-up for. However, I would like to be able to not have the "Microsoft Access can't append all the records in the append query" error pop-up for all five (5) append queries.
I have the "Confirm" "Record changes", "Document deletions", and "Action queries" unchecked within my "Client Settings" with no change.
The code I am using on my form open is:
Private Sub Form_Open(Cancel As Integer)
DoCmd.OpenQuery "DOItemQuery1"
DoCmd.OpenQuery "DOItemQuery2"
DoCmd.OpenQuery "DOItemQuery3"
DoCmd.OpenQuery "DOItemQuery4"
DoCmd.OpenQuery "DOItemQuery5"
End Sub
Is there a code which I can place within mine to ignore the error for all of the append queries?
Thank you,
I want it to run this way as it supports and works perfectly for the other tasks I am using this set-up for. However, I would like to be able to not have the "Microsoft Access can't append all the records in the append query" error pop-up for all five (5) append queries.
I have the "Confirm" "Record changes", "Document deletions", and "Action queries" unchecked within my "Client Settings" with no change.
The code I am using on my form open is:
Private Sub Form_Open(Cancel As Integer)
DoCmd.OpenQuery "DOItemQuery1"
DoCmd.OpenQuery "DOItemQuery2"
DoCmd.OpenQuery "DOItemQuery3"
DoCmd.OpenQuery "DOItemQuery4"
DoCmd.OpenQuery "DOItemQuery5"
End Sub
Is there a code which I can place within mine to ignore the error for all of the append queries?
Thank you,