Disable Yes/No Box

Local time
Today, 04:38
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
 
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

Back
Top Bottom