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

Disabling Action Queries Confirmation

Status
Not open for further replies.

homeguard

IS-IT--Management
Jul 12, 2007
47
US
Hi, i have a line of code that goes something like "DoCmd.RunSQL "INSERT INTO tblEvent..."

Does anyone know how to make it automatically disable the confirmation? i dont want to go around and change the settings on everyones computer everytime they use this database for the first time.
 
Look at DoCmd.SetWarnings False

I'd turn it back on after using DoCmd.SetWarnings True

Hope this helps

HarleyQuinn
---------------------------------
If you never say your name out loud to anyone they can never ever call you by it - Regina Spektor

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
You're welcome, glad I could help [smile]

HarleyQuinn
---------------------------------
If you never say your name out loud to anyone they can never ever call you by it - Regina Spektor

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
homeguard . . .

To permanently turn off action query confirmation:

Tools - Options - Edit/Find Tab - Confirm Section - remove check from [blue]Action Queries[/blue] . . .

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top