Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Session class share the datasession with form?
Message
From
27/10/2001 12:04:07
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
 
To
27/10/2001 08:14:49
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00574122
Message ID:
00574158
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform