Handling Errors

T

tom

I am working on an application that I did not write.

This application was originally written in Access 97.

The application has error handling, but I am having trouble finding the
error handling code. How does
one go about finding the error handling code for
an application?
 
S

Smartin

tom said:
I am working on an application that I did not write.

This application was originally written in Access 97.

The application has error handling, but I am having trouble finding the
error handling code. How does
one go about finding the error handling code for
an application?

Search through module and form code for "On Error".

IIRC, the directive in an On Error statement will propagate throughout
code execution, even if no such statement exists in the Sub or Function
where the error occurs. The last encountered On Error statement will be
the one that is processed in an error event. This can make debugging
tricky unless each and every proc has its own error handling.

HTH
 

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