Disable Yes/No Box (1 Viewer)

Local time
Today, 11:14
Joined
Sep 29, 2003
Messages
25
Hi

I have a query that pastes fields into another table. how can i get if to stop asking me and just do it


thankyou
 

GrahamB

Registered User.
Local time
Today, 11:14
Joined
Aug 13, 2003
Messages
22
SetWarnings option in Macros or VBA:D

Note: Make sure you turn the warnings back on after you have run the query.

So in a Macro

SetWarnings (No)
OpenQuery
SetWarnings (Yes)

Or in VBA

DoCmd.SetWarnings False
DoCmd.OpenQuery "Query Name"
DoCmd.SetWarnings True
 

Users who are viewing this thread

Top Bottom