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?????????/ continued............... 2 " a quicky "

Status
Not open for further replies.

chrisgreen

Programmer
Jun 28, 2000
61
0
0
GB
I can know update and append records from one table to another and I am running the code via vba.<br><br>DoCmd.Openquery &quot;query&quot;<br><br><br>How can I get rid of the warning messages that access throws up?&nbsp;&nbsp;It is anoying because when I run 3 query's there are 6 warning messages.<br><br>
 
<FONT FACE=monospace> docmd.setwarnings false<br><br>[...run queries etc...]<br><br>docmd.setwarnings true </font><br><br>(last line is to turn warnings back on again. If you don't do this, access wont warn you when you run Update, Append and Delete queries - even if you are running them manually)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top