Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lookup grid form's Datasession
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00103684
Message ID:
00103946
Views:
19
Barbara.
Didn't know default was 'previous form' datasession. Yes, it will be real simple. Thank you very much.

Ricardo.

>>From a given form I will call another (modal) form in which user selects a row from a grid. The grid will be associated to a cursor created by a query in the calling form. What happens with datasessions??? I want the datasession to be the same as the calling form, so as to be able to see the cursor. Should I use private datasession and send the calling form's DataSessionId as a parameter? Could I get it without it being sent? Is there a better way?
>>
>>Thanks for enlightenment. :)
>
>Ricardo,
>As Sylvain says, use the default data session in the modal form. The reason is that if you call a modal form from a form with a private datasession, and if the modal form is set to default datasession, then the modal form actually defaults to the calling form's private datasession.
>
>MUCH simpler than sending DataSessionIDs!
>
>HTH
>Barbara
Previous
Reply
Map
View

Click here to load this message in the networking platform