Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Emulating a Private DataEnvironment
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00351719
Message ID:
00351746
Views:
19
>>Hi John,
>>One flaw that I see is if you call this from an existing private datasession.
>>The Session object only creates a new datasession if it is created in the
>>default datasession. You may be able to get around this by changing
>>datasessions in the Init of the class, I don't know.
>>
>>Then again, maybe this is a bug in the Session object that will be corrected
>>in a future VFP version.
>
>Exsqueeze me? Baking powder? Got repro code for this?

Hi Garrett,
Create a test for with DataSession set to 2 (private). Add a command button with the following in the click event:
THISFORM.AddObject("ioSession","Session")
Bring up the debugger and check the datasession properties of the form and the form's session object.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform