Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New DS in a program - have problems - Urgent!
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00458554
Message ID:
00459111
Views:
43
Hi Martin,

I defined a class in a program called PrivateDSClass as session. In my program I instantiate this class (in code) and add some methods in code. Works like a charm so far. Thanks for your ideas and other participants as well.

>Hi, Vlad.
>
>I'm glad that you are finally trying the Session class. As far as I know you, I'm sure that once you get accustomed to it, you'll discover many uses that you can share with all of us.
>
>>Question about Session class.
>>It does not works as container. This is serious thing, because I want to have a container that is generic data handler and objects in container that are wrappers around each business part. All of them should work in one data session because they work with the same data opened in workareas.
>>How I can make above model? Will object called by reference, created from within session object and assigned to some property of session object will work inside of that data session?
>
>Yes, you can populate a session object with whatever other objects that you want, and they will share the parent's session.
>
>I didn't found many particular gotchas to it, yet. Indeed is VERY plain. I implemented most of the methods that I use in my subclasses.
>
>Good luck!
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform