Remove warning messages from Delete queries

M

Markantesp

I created a macro that will run several delete queries at once. Since I'm
deleting from several different tables, there are several warning messages
that pop up asking the user if they are sure they want to perform the action.
Is there a way to remove these messages?
 
S

S Panja

Change SetWarnings option to No before the 1st delete query; recommend
setting back to Yes after the last.
--
***************************
If the message was helpful to you, click Yes next to Was this post helpful
to you?
If the post answers your question, click Yes next to Did this post answer
the question?
 
Top