Look at value of global variabls in debugger?

L

LAS

Is there a way to look at the value of all global variables in the debugger,
say, when debugging code in a form? To use the Print command in the
immediate window I have to know the name of the variable, and it's not
always easy to recall.

tia
las
 
M

Marshall Barton

LAS said:
Is there a way to look at the value of all global variables in the debugger,
say, when debugging code in a form? To use the Print command in the
immediate window I have to know the name of the variable, and it's not
always easy to recall.


Not unless you write a procedure to print each variable.

You might find it useful to put a Watch on a bunch of
variables to see when they change.

And don't forget the Locals Window lists the value of the
variables in a procedure when it hits a break point.
 
S

Stuart McCall

LAS said:
Is there a way to look at the value of all global variables in the
debugger, say, when debugging code in a form? To use the Print command in
the immediate window I have to know the name of the variable, and it's not
always easy to recall.

tia
las

Let Access help you with that. Type the first 2 or 3 letters of the variable
name, then press Ctrl-Space. It will either finish the word for you or
present you with a list to choose from.

Hope that helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top