Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing values to another form.
Message
From
21/07/1998 11:00:43
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
21/07/1998 10:52:23
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00119709
Message ID:
00119716
Views:
14
>I have form that has a text box bound to a table. I need to pass the value in the text box to another form. How do I do that and what would the code look like?
>
>Thanks, Brad.

If you are creating the new form, then it's not such a problem

Use

DO FORM formname WITH THISFORM.Textbox.Value
or
loForm = CreateObject( "formclass", THISFORM.Textbox.Value)

and then pick up the passed value by using a PARAMETERS statement in the Init of the Form.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform