breakpoint

J

Justin

when programming in my .adp project, I'm trying to debug some code with help
of a breakpoint (F9). But the program does not stop. I even put a msgbox "hi"
in there and put a breakpoint on that line. The msgbox will pop-up and say
"hi" as expected but does not stop on the line. Sometimes it does though and
sometimes it does not. What am I doing wrong?
Thanks for your help.
 
A

aaron.kempf

you can use the 'Stop' VBA keyword in order to step through the code.

i usually do this instead of breakpoints; since i exit out of Access
(in order to save all my work) whenever i do _ANYTHING_ in access.

all because of that crappy A97 bug where Access doesnt save when you
make changes.
 
J

Justin

I'm afraid even the 'stop' keyword has no effect. The program is
unstoppable. The big question in my mind is WHY. what is so different about
..adps I have never had this problem before with either vb6 or .mdbs. My
installation of Office and Access 2003 (11.6355.6408) SP1 is extremely up to
date and freshly installed.
 
D

Dirk Goldgar

Justin said:
when programming in my .adp project, I'm trying to debug some code
with help of a breakpoint (F9). But the program does not stop. I even
put a msgbox "hi" in there and put a breakpoint on that line. The
msgbox will pop-up and say "hi" as expected but does not stop on the
line. Sometimes it does though and sometimes it does not. What am I
doing wrong?
Thanks for your help.

In the Tools -> Startup... options dialog, do you have a check mark next
to "Use Access Special Keys"? If you don't, breakpoints won't work.
 

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