>When I am running the debugger, I don't see all of the global (Public) variables that I have defined in a code module. I can print them in the Immediate window, but is there a way to see them in the Locals window? It is a real pain to look at ADO recordsets when you have to print each attribute you want to see.
The locals window shows variable that belongs to the module in which you are. If you break your application while being in a code module, you should be able to see the variables of this module.
Another way to view them is to add your global variables to the watch window setting the scope to all module.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com