Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two Unrelated forms 'talking' to each other -- How?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00301175
Message ID:
00301289
Vues:
28
>When calling the form, use the NAME clause:
>DO FORM MyForm NAME MyForm

Now what if the form1 is called from a menu item; and form2 is called via a command button on still another form?

the variable in name would need to be public, no? and if the situation repeats itself (ie; the user chooses to 'duplicate' his efforts on more than one 'record' at a time) -- the public var would be over written.

I'd like to 'check' to see if the form is open on the screen; then 'see' what 'key data' (ie: PersonNo) is on the form to check to see if it's related to the other form at all; then update or get more info from it...

Make sense?

Thanks!
-josh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform