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

Pop up windows 1

Status
Not open for further replies.

jossimon

Programmer
Feb 4, 2005
39
US
I am executing queries in VB which deletes data... each time I am deleting something I get a pop up asking if I am sure that I want to delete X number of records... How do I get these pop ups to stop and just have the queries do what they are suppose to?
 
DoCmd.SetWarnings False
DoCmd.RunSQL "DELETE FROM ....."
DoCmd.SetWarnings True

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top