Error Message:"This action will reset the current code in break mode."

hobbes

Registered User.
Local time
Today, 10:14
Joined
Feb 13, 2004
Messages
30
When I try to run a report from my form and it fails, I receive this error when I try to close out of the form:

"This action will reset the current code in break mode.
Do you want to stop the running code?

* To halt the execution of the program so the Module window can be closed, select Yes.
*To leave the code in the current state, select No."

When I click 'Yes', nothing happens. When I click 'No', the error box closes but reappears when I try to close the form or report again. If I click it too many time (usually more than 3), my computer's CPU usage jumps to 100% and I have to close out Access.

I would like to know how to resolve this error. When I look at the code I don't notice anything unusual. I don't understand why I'm getting the code, so I don't know where to start to resolve it. :confused: Any help would be greatly appreciated! Thanks! :)
 
First thing you should do is include some error trapping in your form's and report's code. Do a search of the forums on error trapping. Here's an example: Error Trapping
 

Users who are viewing this thread

Back
Top Bottom