Handling Errors

  • Thread starter Thread starter tom
  • Start date Start date
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?
 
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
 
Back
Top