Question : Access - Set warnings (Why is it automatically off)

Hi,

Somehow, I have "setwarnings false" for my database as a whole.
For example if I create a NEW simple update query I will not be warned before the update happens.

How do I switch the default back on again - I want to be warned of an update.  
Is there some option at database level ??.
(I know how to control with a macro or VBA but not at this high level)

Please note that I tried Access Options/Advanced/Confirm "Record Changes....",Deletions,Action....
These 3 boxes are ticked.

Answer : Access - Set warnings (Why is it automatically off)

Open the VBA Immediate Window and type

DoCmd.SetWarnings True

and hit return.  You can do this at any time.  But ... you need to find that case where you are not doing this on code ... after setting it False.   I suggest putting  .... True in the On Close event of Forms, and the Exit code of vba procedures ... as a safeguard.

mx
Random Solutions  
 
programming4us programming4us