Warning messages (1 Viewer)

syedadnan

Access Lover
Local time
Today, 08:02
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
 

CJ_London

Super Moderator
Staff member
Local time
Today, 05:02
Joined
Feb 19, 2013
Messages
16,616
sounds like you are using docmd.openquery etc. Instead use currentdb.execute
 

Eljefegeneo

Still trying to learn
Local time
Yesterday, 21:02
Joined
Jan 10, 2011
Messages
904
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.
 

syedadnan

Access Lover
Local time
Today, 08:02
Joined
Mar 27, 2013
Messages
315
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

Top Bottom