how do u turn confirmation message off in Access

G

Guest

I want to run a macro overnight that contains action queries. The problem is
how do I turn the confirmation message off. I have used
Tools_Options_Edit/find tab_Action Queries. The issue is that the queries use
data from tables hosted in America. Access help states that this is classed
as a 'data access page' and checking the action queries box will not work.
Can anyone please advise of a fix. Thanks.
 
G

Guest

Currently I run the macro during the day and I have to continually click on
the confirmation message prompts. This is time consuming. Ideally if I can
remove the confirmation message then the macro can be run overnight.
 
G

Guest

Are you referring to a confirmation message such as:
"you are about to add XXX Row(s)."?
When I asked how you planed to run your macro overnight, I meant how do plan
to run the application overnight. Are you setting something up in Windows
scheduler?
I think I have a solution for your problem, but need just a little more
information.
 
G

Guest

I plan to run the macro manually, at the end of the working day. I am
referring to the confirmation message you describe below.
 
G

Guest

Try adding "Set warnings" to the first line of your macro. This setting
should be set to "no" by default. I beleive this has the same effect as the
VBA code of "DoCmd.SetWarnings False" wich will turn off all warnings.
Let me know if this works.
 
G

Guest

Thanks for the info.

Mike said:
Try adding "Set warnings" to the first line of your macro. This setting
should be set to "no" by default. I beleive this has the same effect as the
VBA code of "DoCmd.SetWarnings False" wich will turn off all warnings.
Let me know if this works.
 

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