Auotmatic Macros

B

BBro

I have created some macros that delete records based on a
criteria. For example, when my macro runs it indicates
the number of records to be deleted for each openquery
referenced and then I have to confirm by clicking yes.

Is there a way to eliminate user intervention completely
when running macros in access?

Thanks!
 
K

Ken Snell

You can turn off this "alert message box" by putting a SetWarnings action in
the macro before you do the OpenQuery action. Set the argument of the
SetWarnings action to No to turn them off; use an argument of Yes to turn
the messages back on.
 

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