Global variable seems missing

R

Rolf Rosenquist

In a module I have defined a global variable. In the code of one form I have
set a value to this variable. In another form, that should use this value, I
find nothing.

Trying to find out why, I make a stop after the value is set and in the
direct window I can confirm that the value is OK. Stepping through the code
until I get into the next form, the value is missing for this variable. And
the direct window says that the value now is set to Null.

Is a global variable not readable from all forms?


/ Rolf
 
W

Wayne Morgan

Its value can sometimes be lost if you are stepping through code and break
out of the routine. Something that may help, in the code editor go to
Tools|Options|General tab and check the box "Notify Before State loss".
 
E

eos

AUTO-REPLY From George Levitt

Please allow this to confirm a system receipt of your e-mail.

I am out of the office until Wednesday morning (1/12/05) and will not be
reviewing or responding to email or voicemail until that time.

I look forward to replying to your message on Wednesday.

Thanks and warmest regards, George
 
E

eos

AUTO-REPLY From George Levitt

Please allow this to confirm a system receipt of your e-mail.

I am out of the office until Wednesday morning (1/12/05) and will not be
reviewing or responding to email or voicemail until that time.

I look forward to replying to your message on Wednesday.

Thanks and warmest regards, George
 

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