Stepping through your Visual Basic code can help you identify where an error is occurring. You can see whether each line of code produces the results you expect.
How?
Microsoft Access displays the line of code where execution is suspended.
on the Debug toolbar.
on the Debug toolbar.
on the toolbar.Note You can use Step Into
without suspending code execution. In the Visual Basic Editor Code window, place your cursor in the procedure you want to step through, and click Step Into
on the toolbar.
You can alternate between these types of stepping. The type of stepping you do depends on which portions of code you want to analyze.