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

Public variable confussion

Status
Not open for further replies.

dynamictiger

Technical User
Dec 14, 2001
206
AU
I have set up a variable in the declarations section of my report as follows:

Public blnCut as Boolean

My module that requires this for an equation states blnCut is not declared.

Should I declare this in the module and reference from the report or should I declare this in a seperate module and reference from bothe the report and the calculations module?
 
if the "module" where blnCut is declared is a form or object then you must reference the variable via the form or object reference e.g.
form1.blnCut = true Generate Forms/Controls Resizing/Tabbing Class
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top