Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffered Data and child forms .
Message
De
28/03/2001 00:38:16
 
 
À
27/03/2001 06:32:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00488883
Message ID:
00489316
Vues:
9
Or you can define an array as public in the parent form and the in the child form assign the values to the array
then insert the values in the table:

Local lOk
Public Array aField(n) && Where n = number of fields you have
Do Form MYCHILDFORM To lOk
If lOk
* They click the OK button in child form
Insert Into MYTABLE(FIELD1,FIELD2,FIELDN) Values(aField(1), aField(2), aField(n))
EndIf
Release aField

You must define the child form as Modal and in Unload event Return .T. or .F. if they click the Ok button or the Cancel button
Be fast like the Fox
Be free like the Penguin
Se Rápido como el Zorro
Se libre como el Pingüino
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform