Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datasession not released
Message
From
02/06/1998 09:23:15
 
 
To
02/06/1998 05:01:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00103901
Message ID:
00103932
Views:
22
>>I have a form with a private datasession. In code i create new cursors within the form. In unload event i close all of this cursors, but datasession does not disappears from my datasessions window. What more can i do to release it?.
>>Carlos.
>
>Hi Carlos,
>whether you have a private datasession and property AutoCloseTables = .T., all of tables and cursors in form's datasession are automatically closed and it is not necessary to close them programatically.
>If you want to still close them programatically in unload event, try to call Dodefault(). That may help.
>
>Sincerely,
>Petr Valach

Petr,
I only close programatically those cursors created by code within the form and that are not in the DE, so form can't close them automatically. Otherwise i have 'dodefault()' clause in my unload event. But datasession is not releasing.
Carlos.
Saludos,
A.G.P.
---------
Previous
Reply
Map
View

Click here to load this message in the networking platform