Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String to Object
Message
 
To
14/07/2003 17:26:47
Tom Pickel
Corporate Technology Group
Arlington, Texas, United States
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00805187
Message ID:
00810049
Views:
18
You need to use the Forms collection. See http://www.vb-helper.com/howto_display_form_by_name.html


>you are leaving out the textbox control label
>
>form1 is the form name
>.text1 is the textbox control label
>.text is the value within the texbox
>
>
>try this
>
>text1 = the name of your textbox control
>
>
>
>Private Sub Button1_Click()
>OpenForm (trim(txtFormName.TEXT1.text))
>End Sub
>
>Private Function OpenForm(lcFormName)'its not necessary for the AS OBJECT statement
>lcFormName.SHOW
>End Function
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform