STOP Statement

K

Ken

I'm trying to do some debugging and have inserted a STOP statement in the
procedure where I'm having a problem. Normally, when running this in Design
Mode, the code stops and is displayed when it reaches this point. However,
it's not cooperating in this case. Am I forgetting to enable a checkbox
somewhere? Thanks.
 
S

SteveS

Hi Ken,

No, it usually means that you are not reaching that line in your code,
either by not going to that branch in your logic or because there is an
unhandled error.

Try compiling the code. In the degub window, goto the menu command DEBUG/
Compile - Fix any errors - run the code.

Or, in the debug window, click in the gray left border to set a breakpoint.
The line will change to a brown (in my Access) color. If you set the
breakpoint at the start of the procedure, you will be able to step thru the
code line by line, checking the variables and seeing which lines of code are
executed.

HTH
 
Top