Databases Reference
In-Depth Information
9.6.1.4 Run to Cursor (Ctrl+F8 or choose Run To Cursor from the Debug menu)
If the Visual Basic Editor is in break mode, we may want to execute several lines of code
at one time. This can be done using the
Run To Cursor
feature. Simply place the cursor
on the statement immediately following the last line you want to execute and then
execute.
9.6.1.5 Set Next Statement (Ctrl+F9 or choose Set Next Statement from the Debug menu)
We can also change the flow of execution while in break mode by placing the cursor on
the next statement that we want to execute and selecting
Set Next Statement
from the
Debug
menu. This will set the selected statement as the next statement to execute, but not
execute it until we continue tracing.
9.6.1.6 Breaking out of Debug mode
When we no longer need to trace our code, we have two choices. To return to design
mode, we can choose
Reset
from the
Run
menu (there is no hotkey for this). To have
Access finish executing the current program, we can hit F5 or choose Run from the
Run
menu.