Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datasession not released
Message
De
02/06/1998 09:23:15
 
 
À
02/06/1998 05:01:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00103901
Message ID:
00103932
Vues:
23
>>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.
---------
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform