Log in

View Full Version : Solved: Access Debug



PWhatley
02-14-2008, 08:11 AM
I am a relative newbie to VBA and am trying to modify some code in an existing database. I cannot get the F8 step into button as I do when I am in Excel VBA. I am in design mode for code for a button on a form. When ever I hit F8, I just hear a "thunk" sound. I have tried adding break points to no avail. Can anybody get me past this? Thanks!

orange
02-14-2008, 09:41 AM
I am a relative newbie to VBA and am trying to modify some code in an existing database. I cannot get the F8 step into button as I do when I am in Excel VBA. I am in design mode for code for a button on a form. When ever I hit F8, I just hear a "thunk" sound. I have tried adding break points to no avail. Can anybody get me past this? Thanks!

In design mode for the form, in the code behind the form add a breakpoint.
Then Open the form, execution should stop at the breakpoint. At that point you should be able to use F8 to step thru the code.

PWhatley
02-14-2008, 04:24 PM
Sorry it took me so long to get back. I was pulled off onto some other project.

Many Thanks! I did not realize that the form had to be open. It worked just as you said.