It's not clear from you post whether you are running your query using code from the button or via a macro. However, you should check out the SetWarnings command. If using a macro these are available as steps in the macro, if using code use:
DoCmd.SetWarning False
Your code
DoCmd.SetWarnings True
Code is better- if the macro stalls halfway through it will cancel all warnings until the app is closed and reopened.
HTH Nigel
Didn't someone say work is supposed to be fun? They didn't have computers then I guess....