Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lookup grid form's Datasession
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00103684
Message ID:
00103856
Vues:
26
>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
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform