Question : Set warnings off/on in Access 2002

We have an Access 2002 app for which we have a piece of code in the startup routine that globally sets the warnings off (docmd.setwarnings false) - and no where else in the program do we have a docmd.setwarnings statement.  I think it may be OS dependent, but not sure.  We have only a couple folks who have reported the problem, but I've done a global search several times for the setwarnings statement and there is only the one at startup that turns them off.  Has anyone ever seen this before or have any ideas on what might be causing this?

Answer : Set warnings off/on in Access 2002

I posted the article to support your theory that it's OS related. It does show the eventhandling under XP works differently.

Personally I skipped using the setwarnings as when set it will not show the save confirmation after changes to a form in design mode....
I use now the currentdb.execute to "suppress" Jet messages when needed.
All others I first investigate.....

Nic;o)
Random Solutions  
 
programming4us programming4us