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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Global Variable

Status
Not open for further replies.

SymbionA

IS-IT--Management
Apr 16, 2007
45
AU
I want to declare a global variable that will be used throughout my code.

So when the main form loads for the first time I want the variable PASS = 0

When any function is called in the program I want to set PASS = 1, however, I dont know how to define a global vairbale in Access, could anybody help

Thanks!
 
I dont know how to define a global vairbale in Access
In a standard code module, in the (Declarations) section (ie before any procedure):
Public PASS As Integer

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top