Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass a param to a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01245888
Message ID:
01245892
Vues:
17
Timothy,

Put in the Form2's Init

lparameters zRec

And if you will use this in any other method of the form, save it in a Forms property

thisform.zRec = m.zRec

And you do not need to declare zRec as public

>I want form2 to have the value of a var in form1, what is the way to accomplish this? Where does the parameter statement go? I have this in Form1:
>Publ zrec
>zrec=RECNO()
>DO FORM2 WITH zrec
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform