Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BufferMode Property
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00504341
Message ID:
00504694
Views:
17
>They should be. If you have a private datasession form and it instanciates a new form class that has the default datasession, it should be using the datasession of the first form, the private datasession. If that's not what you're seeing, you must have some code somewhere in your class hierarchy that's fooling around with the datasession setting.

The one situation where this will not happen is if the parent form launches a child form with a goApp.DoForm('mychildform'). This child form that is set to use the default datasession will inherit the datasession in which the goApp object was instanciated [probaby the VFP DS -- DS #1].

For the child form to inherit the parent DS, you have to DO FORM MYCHILDFORM directly from the parent form.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform