Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffered Data and child forms .
Message
From
28/03/2001 00:38:16
 
 
To
27/03/2001 06:32:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00488883
Message ID:
00489316
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform