Error messages on append queries

J

Jason Potter

When you run an append or make table query you receive
several messges (ei: you are about to run an append etc...)
Is there any way to turn off these messages?
 
R

Roxie Aho

DoCmd.SetWarnings False in an event procedure on the form
from which you run the query. I find it good practice to
set warnings back to true once the procedure has un in
case I want warnings elsewhere.

Roxie Aho
(e-mail address removed)
 
V

Van T. Dinh

Use the Menu Tools / Options .../Edit_Find tab / Confirm pane and set the
appropriate confirmation.

Beware of accidental changes / updates / deletions.

If you use code to run the Query, you can temporarily stop the warning
(Using SetWarnings Method), run your updates and then reset the confirmation
just after your intentional updates. Alternatively, you can use the Execute
method which does not require confirmation.
 

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