Warning messages

syedadnan

Access Lover
Local time
Today, 04:52
Joined
Mar 27, 2013
Messages
315
Regards

I am looking to get solution for the warning messages that comes with append, delete, update query and more..

I want this to be done by VBA which i will do subjectively but wanna stop this query popups or message
 
sounds like you are using docmd.openquery etc. Instead use currentdb.execute
 
You could also insert before the command:
Code:
DoCmd.SetWarnings False
and then after the command:
Code:
DoCmd.SetWarnings True

It is very important to set the warnings back to True after running the query.
 
You could also insert before the command:
Code:
DoCmd.SetWarnings False
and then after the command:
Code:
DoCmd.SetWarnings True

It is very important to set the warnings back to True after running the query.

Thanks work done !!!:D
 

Users who are viewing this thread

Back
Top Bottom