Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does Access forget global vars?

Status
Not open for further replies.

BaudKarma

Programmer
Feb 11, 2005
194
US
Somewhere in my storehouse of useless Access knowledge, I got the impression that Access has a tendency to "forget" the value of global variables from time to time. I'm not sure if this is accurate or just some rumor I picked up. Can anyone offer opinions one way or the other?

I'm using Access 2002 if it matters.





I try not to let my ignorance prevent me from offering a strong opinion.
 
Global values lose the values if you have unhandled errors in your code execution.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Access also "forgets" global variables when you do a Run->Reset while debugging code. It is rather annoying sometimes.

Richard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top