Turn off confirmation boxes (1 Viewer)

Cavern

Registered User.
Local time
Today, 19:39
Joined
Jul 12, 2002
Messages
31
Is there a way to turn off the confirmation boxes when I run query? You know, the ones that say 'You are about to update/delete/whatever to blah blah blah.." with the OK buttons..

I'm making a bunch of automated querys run, and its really annoying to have to click through all those damn 'OK' buttons :).
I'm sure there's a simple way, but I can't figure it out...
 

[nateobot]

Registered User.
Local time
Today, 13:39
Joined
Jul 15, 2002
Messages
64
If you are using a macro to run the queries in succession you can choose macro option "SetWarnings" and set them to off.

Otherwise bring up the Options box. Go to Edit/Find tab and uncheck the box that says Action Queries.
 

everblue

Registered User.
Local time
Today, 22:39
Joined
Jul 20, 2002
Messages
21
or if you use VB code. write the following


DoCmd.SetWarnings False

:)
 

DBL

Registered User.
Local time
Today, 19:39
Joined
Feb 20, 2002
Messages
659
remember to turn them back on again:

DoCmd.setwarnings false

DoCmd.Openquery, blah, blah

DoCmd.setwarnings true
 

Users who are viewing this thread

Top Bottom