Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling another form from within the current form
Message
 
 
À
07/11/2011 22:00:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01528335
Message ID:
01528336
Vues:
54
>I know I've done this before but it's been a while and I'm blank,
>
>How do you call another new form from within a form so that the second form can have access to the data on the first form. I seem to recall something about using the parameter statement but I've haven't figured this out yet and have been reading for an hour.
>
>Any help would be greatly appreciated.
>
>Robert Wright

Try
do form MySecondForm with thisform
In the mySecondForm Init method save a reference to the calling form to thisform.oCaller

Now you have an access to the calling form.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform