Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple datasession question...
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00901237
Message ID:
00901377
Views:
20
I am really scraping the bottom of my memory here but, if memory serves, you need to close all the tables in the datasession (and the databases) and then SET DATASESSION TO another datasession. Once you move off the empty datasession (assuming that the datasession is referring to an orphan object reference as opposed to an object variable based on the session class) it should close the datasession.

Again, this is coming off the bottom of my memory here. I remember having to write code for a client to take care of orphan data sessions but that was a long time ago.

Hope this helps.

Menachem

>Diane,
>LOL... I want to close the datasession now, because I don't know how to do it... lol, if that makes any sense. But if I close all tables in the session, it still leaves the session hanging around. I'm using 7.0.
>
>
>
>>I'm not sure. When I test a form in VFP and it crash, the datasession stay opened. I just go in it and close all tables in there which make the datasession close. So, I'm not sure it will work for you but have you tried closing all tables in it.
>
>Also, why do you want to close the datasession?
Menachem Bazian, CPA
President
BC Consulting Services, Inc.
973-773-7276
Menachem@BazianCentral.com
Previous
Reply
Map
View

Click here to load this message in the networking platform