Can someone refresh my memory on the command to turn off warning prompts to the user when running queries, etc. from code?
Printable View
Can someone refresh my memory on the command to turn off warning prompts to the user when running queries, etc. from code?
Application.Displayalerts=False
Make sure you reset it to True again afterwards.
It's telling me that displayalerts is not a method of application. I am referencing DAO and ActiveX. Do I need to reference something else?
Never mind. I found the SetWarnings method of the docmd.