Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Data Sessions -- What are they good for
Message
From
09/12/1999 10:32:58
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00300134
Message ID:
00301003
Views:
34
>There is one situation where a private data session is advantagous, that is with a child fomr that needs to directly manipulate its parent form's data. If a modal form is called from a form with a private data session and the modal form has the default data session, then the data session that the modal form runs in is the private data session of the calling form.
>

Well, I think it was Peter that said he was using VFE. Is so, this is not even necessary. All you need to do in your child form is to get a reference to the parent form business object. From there you can talk to the data object of the parent form and still use a private data session in the child form.

Of course, there is something in VFE called a cEditForm, which is a form called from a grid to edit/add a record... in this case, this form has 'default data session'... of course, this form also has no BizObj or DataObject attached, or needed.

Long live PRIVATE data sessions!

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform