Global variable values disappearing !?!

D

David

Im declaring some global variables in a module that is executed at initialization
These variables are not always present and I have no idea why
For instance I set one of them in a form and then when I return to the previous form, the contents have gone
Any ideas? I'm using Access 2000 with all the latest fixes.
 
A

Adrian Jansen

You may have an unhandled error in code somewhere. When you trip the error,
all global variables get reset.

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
David said:
Im declaring some global variables in a module that is executed at initialization.
These variables are not always present and I have no idea why.
For instance I set one of them in a form and then when I return to the
previous form, the contents have gone.
 

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