Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it OK to Set Datasessionid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00233988
Message ID:
00233997
Vues:
38
Hi Brett,

You should never have to use SET DATASESSION in a form's methods. It is as dangerous as they make it sound in the docs.

If you are trying to have a form share the same data session as another, then follow these steps:

1) Your parent form can create it's own private datasession or not. Just choose your desire in the data session property of the form
2) Your parent form MUST have the data session property set to "Default Datasession"
3) Write the code to launch the child form, but put it into a method of the parent form.

If you follow these steps, then the child form will use the same data session as the parent form.

Hope this helps!
-Chuck Urwiler, MCSD, MCDBA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform