Can't get Debug to work on "CBF" - code behind a form

G

Guest

I have several VBA subs behind a form. When I try to use Debug F8 for them,
all I get is a beep -- and no highlight. Debug Step Into doesn't work.

Are there code types for which Debug can't be used? I'm confused

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...8d4a8f&dg=microsoft.public.access.formscoding
 
R

ruralguy via AccessMonster.com

Put a breakpoint on the line you want to stop on and then run the form. When
it stops on your line, the debugger commands should work.
 
D

Dirk Goldgar

SkiierDave said:
I have several VBA subs behind a form. When I try to use Debug F8
for them, all I get is a beep -- and no highlight. Debug Step Into
doesn't work.

Are there code types for which Debug can't be used? I'm confused

Debug can be used, but you can't just step into procedures in class
modules.
 

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