Information générale
Catégorie:
Codage, syntaxe et commandes
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement