Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object and datasessions (again)
Message
 
To
21/07/1999 16:29:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00244270
Message ID:
00245861
Views:
12
>Unless I am missing something, it seems to search in the datsession in which it was created.

Alex,

See my other replies. Your observation is correct. It is this way because in OO you create objects that are independent of each other, that is a form that creates a data session will have no effect on another object that has been functioning in another data session.

One could make the argument that if you have a method in an object that needs to be in the current data session of the form, then that object should be IN that form. If it isn't than incapsulation has been violated as the both the fomr and the other object are interdependent on each other to function correctly without any owner relationship between them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform