Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Session class share the datasession with form?
Message
De
27/10/2001 12:04:07
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
À
27/10/2001 08:14:49
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00574122
Message ID:
00574158
Vues:
15
Hi John,
I believe that's the behavior. If you create an Form.oSession property you can then do ThisForm.oSession = CREATEOBJECT("SessionClass"), however the form won't be able to see any data that's in the session, (of course, that's the point :-)) This is the way containers, like forms, work.

>Hi,
> I am developing a class base on session base class. I set my form's and it's datasession to 2. I add it to a form while form.init(). I found that, tables used in session object share the same datasession with my form. Is it my mistake or VFP behaviour?
>
>Thank you
Charlie
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform