Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Still cannot evaluate form data from outside form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00049151
Message ID:
00049164
Vues:
40
>Is there a way to grab the value of a textbox from a form called form1 in myform.scx form a prg? I keep getting 'object form1 is not found'
>In the prg I say :
>do form myform name form1 linked
>?form1.text1.value
>I could be missing something simple but have no idea.

The variable the Form is linked to should be Public.

PUBLIC frmTest

DO FORM Form1 NAME frmTest LINKED

Now you should be able to reference Form1 as frmTest
(i.e. frmTest.txtData.Value)
Thanks,
Patrick

Senior Analyst/Programmer
Lexington, KY
(Basketball, Bourbon & Horses... What Else Matters?)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform