Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private Session Parent - Default Session Child Help Need
Message
De
16/12/1999 10:05:41
 
 
À
16/12/1999 09:57:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00304650
Message ID:
00304655
Vues:
27
>In reguards to the topic technique of your Parent Form having a Private data session and your Child Form set to default session.
>
>If you call the Child form from the parent form, it works great. However, if your framework has a DoForm method in the app object, and you call that method to invoke your child form, the child form ends up in the Default data session.
>
>How can you handle this? Putting a
>
>SET DATASESSION to (_Screen.ActiveForm.DataSessionID)
>
>Seems to leave unknown data session around.
>

Even if you reset it?


FWIW, I have never had this problem, because my framework doesn't use a DoForm method. Rather, all of my forms register themselves with the forms manager when they are started. This keeps me out of the parameter passing mess, lets me use DO FORM whenever I want, and avoids trouble like you are having here.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform