O'Reilly logo

F. Scott Barker's Microsoft® Access 2000 Power Programming by F. Scott Barker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

VIEWING THE ORDER OF PROCEDURE CALLS

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:

1.
Open the GlobalUtilities module.
2.
Go to the ap_AppInit() function.
3.
Place a Stop statement in the first line of code following the function declaration. Then close the module.
4.
Execute the function by running the AutoExec macro. When ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required