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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suppress "You are about to append 1 row" msg? 1

Status
Not open for further replies.

solun

Programmer
Apr 1, 1999
55
I'm using DoCmd.RunSQL (strSQL) to add rows to a table. I want it to not notify me that it's appending a row - it's really irritating and the table is specifically for these added rows. How do i suppress that warning?

Thanks,

Heidi
 
DoCmd.SetWarnings False
DoCmd.RunSQL (strSQL)
DoCmd.SetWarnings True

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top