Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
At what time the property DataSessionID is set?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00518513
Message ID:
00518538
Views:
7
Open the tables in the OpenTables() method of the DataEnvironment of the form. They will be opened in the desired data session, based upon the setting of the form's DataSession property (1 = Default, 2 = Private).

HTH.

>I am using a form with private datasession.
>The form do not have any tables open. In the Load Event I open the tables.
>
>In the Init() of the form I want to use the table but the DataSessionID is set to 1.
>
>If I suspend the excution in the init() I can see the DataSession # 4 created for my form but the DataSessionID is not set to 4.
>
>Any one know when the DataSession is set to my privated datasession?
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Previous
Reply
Map
View

Click here to load this message in the networking platform