I want to run a saved access query through a button click using VBA. I don't want the user to be asked to confirm that it runs.
CODE:
DoCmd.OpenQuery "QryAddTraining", acViewNormal, acAdd
This brings up the dialogue box "You are about to run append query that will modify data in your table" ....
I just want the VBA code to automatically select "Yes" and stop the user from seeing this interface.