how can i remove the warnings msgs result from delete and append queries?

pjustin1

Registered User.
Local time
Today, 16:05
Joined
Nov 9, 2001
Messages
15
Hi,
I run the delete and append queries from a click of a button, but warning messages(results of delete and append queries) keep popping out.. is there anyway to hide or remove all these...? coz, i don't want to let the user to go through these stages....

btw, i use macro "openquery" to run these queries..

thanks
justin
 
DoCmd.SetWarnings(False)
'Turns Access warnings off

'Run your queries

DoCmd.SetWarnings(True)
'Turns Access warnings back on
 

Users who are viewing this thread

Back
Top Bottom