Using the Locals window


Sometimes, it is easier to just check the values of all the variables in a procedure than to try to guess which variable has the problem. This is easily done with the Locals window. The Locals window, shown in Figure 6.19, lists all the variables declared in the current procedure along with their current values. Variables that are declared outside the current procedure are not shown.

Fig. 6.19

The Locals window lets you look at all the declared variables in a procedure.