Display the value of variables in the Visual Basic Editor Locals window

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

  1. Suspend execution of Visual Basic code.


  2. Click Locals Window on the View menu.

In the Locals window, Microsoft Access automatically displays the name, current value, and type of all the variables and objects in the current procedure. The values in the Locals window are updated each time you suspend code execution. You can change the value of a variable in the Locals window by selecting the existing value and entering the new value.