schedule task macro failes to complete due to persistent prompting

S

Susan

To avoid being prompted when a macro runs a make table query, I have cleared
all check boxes under the "options" menu to "confirm" for record changes,
document deletions and action queries. I have clicked the "apply button" and
have restarted my computer to ensure that the problem is not momentary.

However, I am still being prompted.

Why is that and how is this corrected? If I will require hand VBA coding,
kindly bear in mind that I have never hand coded VBA so please be very
specific as to what should be done (how to view the screen for vba coding and
what code to insert)

thanks!!
 
C

Clifford Bass

Hi Susan,

I would leave those confirm options on. In your macro use the
SetWarnings action to turn the warning off before the make record query then
again to turn them back on afterwards.

Clifford Bass
 
S

Steve Schapel

Susan,

I agree with Clifford... use a SertWarnings/No action in your macro before
the OpenQuery action.

And set the global settings back to the default settings.

However, it is still puzzling why you got the confirmation message. If it
still happens after using the SetWarnings action, please let us know what
the wording of the message is.
 

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