Updating multiple records

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using an update query to update multiple records from a form.
Whwen I run the query I get the message warning me that I am updating records.
How do I prevent that message?
 
I am using an update query to update multiple records from a form.
Whwen I run the query I get the message warning me that I am updating records.
How do I prevent that message?

Several ways. If it's just you using the database on your PC, you can
do the following:

1) Go to Tools>>Options, then click on the Edit/Find tab.
2) In the "Confirm" box at right, uncheck the boxes corresponding to
the actions you don't want to have to confirm. In this case, "Action
Queries"

Note that this will turn off the message universally.

Alternatively, you can turn the warning off from VBA using
"docmd.setwarnings false" which will also turn warnings off
universally until you set it back to "true".

Cheers,
Brandon
http://accesspro.blogspot.com (access tips for non-programmers)
 

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

Back
Top