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

How to retrieve variable in another place? 1

Status
Not open for further replies.

shelbytll

Programmer
Dec 7, 2001
135
SG
if I have try to store something in variable temp in the click event of a combo box and want to retrieve the value of temp in the click event of a button, how do I achieve that? I am a clever newbie...[peace]
 
Hi !!!
Create form property (for example form1.zm1). Zm1 is a variable for all over form.
Monika Kind regards to you all from Warsaw !!!!!
 
HI shelbytll


According to you, if you use a memory variable you have to declare it as a Public variable then only you can get the value of that variable when you click a button.

Otherwise you can store the value, resulted from the click event of the combo box to the TAG property OR COMMENT property of that control and you can use it instead of creating your New property of a form as suggested by monika.


Suggestions Invited...


gchandrujs [sunshine]


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top