Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Data Sessions -- What are they good for
Message
From
07/12/1999 22:09:51
 
 
To
07/12/1999 21:34:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00300134
Message ID:
00300183
Views:
30
>>Private DS allows to move data pointers independently in work areas belonging to different DS, and correspondingly to different forms. It's not the only way, but natural one, especially if you use row buffering.
>
>I was pretty well forced to use private DS by the design of Visual FoxExpress. But the fact is that when the user navigates to a new record in one form, I want that change to be reflected in all of the other forms (to the extent that they refer to that table.) I solved my problem by keeping a global key value for each table and locating those records when a form is activated.
>
>But if I were writing my own framework I wouldn't use private DS at all.
>
>Peter Robinson

There are lots of reasons why a user might want to view more than one record of a given table at the same time. This means multiple instances of the same form. Private DSs are a natural way to handle this. It would be difficult at best to support this - especially if you're going to use buffering - without using private DSs.

I would suggest that a general purpose framework should support this functionality.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform