How to Macro (Query) in Silent Mode

T

Tom Lorenz

I have a make table query that I want to run un-attended.
The query prompts for an "YES" to overwrite the existing
file. Is there anyway to not be prompted for the
overwrite?
 
K

Ken Snell

Just before you run the maketable query step, put in this step:

Action: SetWarnings
Expression: No

Then after the maketable query step:

Action: SetWarnings
Expression: Yes
 
T

Tom

-----Original Message-----
Just before you run the maketable query step, put in this step:

Action: SetWarnings
Expression: No

Then after the maketable query step:

Action: SetWarnings
Expression: Yes


--
Ken Snell
<MS ACCESS MVP>




.
Ken,
Thanks for the information, it worked great!
 

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