General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only