Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating data structure
Message
From
09/11/2004 14:14:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/11/2004 12:04:10
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00959460
Message ID:
00959702
Views:
7
This message has been marked as a message which has helped to the initial question of the thread.
>It should work. I was thinking about another thing.
>How can I run my Application in a Private Datasession ?
>I was trying to use Session Obiect but I still don't understand how to use it....
>:-) thank you

I have hardly used it. But: it is not the application, but individual objects, that use private datasessions.

I use that in forms. When the form has a private DataSession, it will not have conflicts with other forms - that is, you can open the same table two or more times, and with the same alias, in different forms. It is almost as if each form is a separate user.

A session object allows you to do the same in code, that is, have a procedure that uses private DataSessions. Thus, if you open a table "abc", you won't accidentally close the table "abc" opened in another part of the program.

Instead of a Session Object, you can just as well use a form which you don't make visible.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform