Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update query message; how to keep it from showing

Status
Not open for further replies.

kptasteve

Programmer
Nov 2, 2002
43
0
0
US
I have an update query that clears a yes/no column to allow me to select records to print. When I run the command button to run the query I get the usually message something like "you are about to update 3 records " . I want to make it so I don't have to respond to this each time I use this update query.

Steve Marcum PT
programmer
 
Before the code for running the query, place the line:

docmd.setwarnings false


You'll probably want to set the warnings back to true or it will affect the way warnings are given when you run the queries from the main query window.


Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top