BdyBldr
07-12-2002, 12:13 PM
I'm new to VB so i might not word this correctly. Is it possible to have 2 froms in an app and on the first form, have text fields ment for a user to input a parameter and then use that parameter in the second form?
passing user input fieldsBdyBldr 07-12-2002, 12:13 PM I'm new to VB so i might not word this correctly. Is it possible to have 2 froms in an app and on the first form, have text fields ment for a user to input a parameter and then use that parameter in the second form? avissoft 07-12-2002, 12:28 PM Yes you can do that! Suppose you have a first form named Form1 with txt field named Text1..now user fills in something..in Text1..and press some button which shows Form2.. In that Form2 you can do the below to get the parameter entered by user in form 1 by using the following code: msgbox form1.text1.text This will display a msgbox with the parameter...user enetered in first form..!! Thanks! BdyBldr 07-12-2002, 01:12 PM Awsome! Thanks avissoft 07-12-2002, 02:35 PM anytime! |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum