Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Share a DataEnviroment
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00088884
Message ID:
00088951
Views:
24
>Hi to all,
>
>In my application I've a case where there is a main form with some child forms (modal forms opened by the main form).
>I want to share the DataEnviroment of the main form from all the child form because I use the table buffering so if child forms reopen the table cannot see the modify of main form ( I update tables only on close event).
>I cannot use Default Data Session because with this I've to share my table with all forms of my app.
>How can I do this in Private Data Session ?
>I'm looking for a solution like client/server data access between child forms and main form, but it doesn't sound simple.
>Have you any idea to sole this problem ?
>TIA

Renato,

A mnodal form luanched from a method in another form with a private data session will share the same private data session of the launching form if the modal form is set to the default data session.

That is if I have FormA which has a private data session and in the click method of a butoon in FormA I have DO FORM FormB. If FormB is modal and set to the default data session then it will be sharing FormA's data session.
Previous
Reply
Map
View

Click here to load this message in the networking platform