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!

Eliminationg a confirmation prompt

Status
Not open for further replies.

Salisar7

Programmer
Apr 23, 2008
5
US
Is there a way to eliminate the confirmation window that pops up after a command like the following:

DoCmd.RunSQL "UPDATE [your table] SET [field A]=False, [field B]=True"

I have a command like this imbedded in the code for a button click and would like the confirmation prompt not to appear.

TIA
 
Have a look at the DoCmd.SetWarnings method.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top