Automate queries in macros

  • Thread starter Thread starter N Kruidbos
  • Start date Start date
N

N Kruidbos

Guest
In a macro running a series of update queries, is there a way to disable the dialog boxes so that the macro may run unattended. I also need to do this for the other types of queries.
 
Yes,

At the beginning add the line
SetWarnings (Value No)
Then at the end of the macro Add the line SetWarnings (Value Yes)

Note: If you don't turn the warnings back on you will get no warnings from Access for anything after the Macro has run.
 

Users who are viewing this thread

Back
Top Bottom