Error messages not displayed - how do I fix?

E

EduardH

I am running Access 2002 with all patches on a Windows XP Home system. Somehow I turned off automatic error handling. When an error occurs in my code, the code stops executing, but I don't receive an error message. Very frustrating, because I have to try to guess why the code doesn't work. For example, if I insert the following in the OnCurrent procedure of a form: "Me!fldTest.enabled = false" and don't have a field named "fldTest" no error is reported. However some of the code on my form stops working

The database used to display errors, so there is something I did to cause the problem

I appreciate any help. Thank you

Ed (e-mail address removed)
 
J

John Spencer (MVP)

Don't know for sure, but I would check that error-handling was in place.

Open any module
Select Tools: Options: General
Check the settings for Error Trapping (Set Break on Unhandled errors)
 
E

EduardH

Thanks for the input. I fixed the problem by creating a blank database, then exporting all tables, forms, queries, etc. to the blank database. Now errors are reported. I still don't know what caused the problem. Take care

Ed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top