Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why doesn't DataEnvironment class have DataSession prope
Message
From
28/05/2004 14:48:05
 
 
To
28/05/2004 14:42:19
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00908262
Message ID:
00908284
Views:
18
Hi, Dragan-

>>It occurred to me recently that a DataSession property would make more sense, or as much sense, as it does for a form class.
>>
>>Is this nutty?
>
>Sort of. It seems they were partially out for lunch when they were designing it - instead of it having its own DataSessionID (and DataSession) properties, form has them. This poor class was designed to live only as a special object on a form, never on its own... sort of a permanent child, never to grow up.
>
>Today, almost ten years after the fact, we'd all like to have this beast redone, but too late now. What I'd like to see would be a cross between a Session and Datasession class, i.e. something that could be just dropped on a form and that would have the good behaviors of both of these classes. Seems to be a bit too late for that now, unless we rolled our own.

Well, I'm glad it's not just me. It's been such a royal PIA rolling my own...I don't know why it didn't occur to me before this week that it would make a lot of hassles go away if I could just set a DataEnvironment to a private datasession. I'll look this up in the wish list and then make one or vote. Thanks for confirming my hunch.
Previous
Reply
Map
View

Click here to load this message in the networking platform