Completely stupid question that will take you 2 seconds to answer :)

M

markus

Okay, I'm sure this is a completely idiotic question, but I need to figure
it out.

I'm familiar w/ VB etc... I have an access project here w/ a form w/ code
behind it.

I've put in a couple of break points and I want to debug it. I push the
"Play" button, like in VB, but it brings up a "Macros" window. ?????

Please help
 
K

Ken Snell

You can only "Play" a subroutine or function that is in a regular module and
that is Public. If you're trying to "play" the code in a form or report
module (which is a class module), you won't be successful. Put a breakpoint
in the code that you want to debug, then go to the form/report and create
the event that will run that code. Then you'll be able to step through the
code.
 

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