Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FormSet not releasing DataSession
Message
De
27/07/2001 12:08:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
FormSet not releasing DataSession
Divers
Thread ID:
00536490
Message ID:
00536490
Vues:
35
I have a FormSet with a private DataSession that activates various forms.
When a form is released, it checks if it is the last active form, it releases the dataset.
I noticed that if one of the form are activated, when the FormSet is released,
the DataSession remains with all tables and cursors open.

I added to the FormSet
********************************************************
PROCEDURE UnLOAD
CLOSE DATA ALL && ????? Not always releasing datasession,
&& atleast close files
DODEFAULT()
RELEASE ofrsARTrns
ENDPROC && UnLoad
********************************************************
The files are noe closed,
but the DataSession remains.

Any ideas?

Thanks
Shlomo
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform