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!

Dim Variable & put value into Form Control?

Status
Not open for further replies.

dmon000

Technical User
Sep 9, 2003
79
US
Is it possible to dim a variable and set its value and then open a form and have that value be the content of a form control?

I have a command button which when clicked declares a variable "UnitTitle" and sets a value to "Acute A". I want to then put that value in a form which opens next.

Thanks!!
 
Hi dmon,

dim the variable in a module. The var can be seen by all application objects then.

ATB

Darrylle

Never argue with an idiot, he'll bring you down to his level - then beat you with experience.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top