Step Into Event Procedure

father

Registered User.
Local time
Yesterday, 23:51
Joined
Jul 11, 2005
Messages
14
Can you step into an Event Procedure line by line in Access? I toggled the Breakpoint at the End Sub of the Event Procedure, clicked in the middle of the sub, and pressed F8. Nothing! I do this all the time in Excel.
 
Set the breakpoint at the beginning of the code you want to step through. Run the code it will stop at the breakpoint and allow you to step through (moving forward only). You can watch variables, whatever at that point.
 
Some will not run

If you try to run VBA code that's attached to forms instead of separate modules, they do not run with the F8 key. :( The only way to step through these is to put a breakpoint at the first line of code in the macro so you can step through them once they start executing.

Dave G
 

Users who are viewing this thread

Back
Top Bottom