Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Data Sessions -- What are they good for
Message
 
To
08/12/1999 20:10:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00300134
Message ID:
00300722
Views:
20
>I use default DS only, and I have no problems with record pointer coordinations. My forms are not dependent on pointer moving, i.e. they are completely unbound from data.
>Basically, private DS is based itself on USE ... AGAIN, and it looks pretty much FOX2x too. Yes, it's convenient, because it's available, but I would not consider it as important OO feature.

Ed,

I have to disagree. I find that private data sessions are one of the major improvements in VFP over FP 2.x. I wrote the state saving and restoring code in 2.x to allow multiple instances of the same form and believe me setting the data session to private is a great improvement.

Also, if one chooses not to use private data sessions and there are two forms open and buffering is set to row, then table updates can occur totally out of the control of one form when the other moves a record pointer.

In fact, the only time I see a default data session having any value is when I have a child form that must manipulate its parent's data directly.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform