Another necessary debugging tool that Access provides is the capability to view procedure calls. You can get to the Calls dialog through a couple of different routes, but this section focuses on the Immediate window.
One reason for viewing the procedure calls is that sometimes you need to verify how a routine was called. This is especially true if you have more than one way to get into a routine.
To view the procedure call stack from the VBE, follow these steps:
Open the GlobalUtilities module.
Go to the ap_AppInit() function.
Place a Stop statement in the first line of code following the function declaration. Then close the module.
Execute the function by running the AutoExec macro. When ...