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

Public Variable

Status
Not open for further replies.

dodgyone

Technical User
Jan 26, 2001
431
GB
I'm having difficulty taking a variable from on eform and then using it in another form.

It isn't a field in a tbale or anything... it's just a String so that depending upon how it is used in the first form the reponse in the second form is different.

Does anyone have the basic code to do this? Isn't it acase of putting the varibale in a module?

Thanks...
 
Got it... after messing around for a while ;o)

In the module enter... Global VARIABLE As String
... Where VARIABLE is your value.

Use this VARIABLE in your forms etc and bingo!
 
Dear dodgyone:

Thanks! I needed that!

:) Gus Brunston
An old PICKer
padregus@home.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top