Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class based forms and Default DS
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01186390
Message ID:
01186396
Views:
22
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>Looks like the trick of sharing data session between two forms doesn't work with class based forms.
>
>I set my child form DS to be default and I have this form as a class and call it through menu manager DoForm method. It uses default DS and not the parent form DS as I hoped.
>
>What would be the best way to share a cursor created in the parent form with the child form in this case? Passing parent form's DE as a parameter or cursortoxml/xmltocursor?
>
>Thanks in advance.

How about to pass DataSessionId of the parent form and use SET DATASESSION in the child ones?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform