Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing values to another form.
Message
De
21/07/1998 11:00:43
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
21/07/1998 10:52:23
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00119709
Message ID:
00119716
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform