Make table query dialogue boxes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a macro that runs a make table query. I want to prevent the message
box appearing that tells me I am about to overwrite data (I am aware of
this). This message box prevents the rest of the macro running until the ok
button is clicked in the message box. I s there any way of turning of these
message boxes.
 
I've found one way to eliminate a couple of the message boxes. You'll
still get some message boxes.
I've pasted (and cleaned) the SQL of the query in the macro option runSQL
then disabled the use of transaction.
 
On a single machine you can go to tools,options and on the add/edit tab
unclick action querys from the confirm section. This will turn off all
notifications of action quearys on just the one machine, other users will
still get the dialogue boxes. I really do not use macros so I cannot tell
you how to turn this off for all users, but in code you would us
docmd.setwarnings (false) before running the queary and set this back to true
afterwards.
 

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

Back
Top