STOP Statement

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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
 

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

Back
Top