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

How to show a variable out of a module in a form

Status
Not open for further replies.

wmbb

Technical User
Jul 17, 2005
320
NL
How do I show a variable called "strfolder", defined in a module, in a form as a text-label.

Thanks in advance
 
If it's a publicly declared variable then use something along the lines of:
Code:
LabelX.Caption = strfolder
Hope this helps

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
I've put this in the module and it works:

Forms!Menu!txtfolder = strFolder

Thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top