Removing prompts

M

Mary

I have unchecked the Action Queries box under Tools, Options, Edit/Find,
Confirm.
The other two boxes in that area are also unchecked; however, I'm still
getting prompted during a Macro when Access is about to replace an existing
table. How do I eliminate the prompts during the Macro?
Thank you in advance.
 
A

Al Campagna

Mary,
Add a SetWarnings No before the action query runs, and a SetWarnings Yes afterwards.
 
A

Al Campagna

Mary,
You wrote
How do I eliminate the prompts during the Macro?

A Macro can contain any number of commands.

You said you had a macro that replaces a table, so place the
SetWarnings No before the macro command that runs the replace table, or whatever you
used...
and a SetWarnings No after it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top