Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datasession doesn't close
Message
 
 
À
05/01/2004 07:00:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00863799
Message ID:
00863851
Vues:
7
Usually this session is left open becuase you have stored some value in an external [to the formset] property that references some object in the formset. Once this external property is cleared [e.g., set to null], the DS will be completely released. This can also happen if you have called some proc that set the DataSession to the DS of that formset and did not set the DS back to what it was.

>Hello,
>
>I have a formset, when I close it it doesn´t close the datasession.
>My software has a "close database all" command, and all formsets are destroyed, they should destroy all datasessions created by them. But in the SET window I can see that there is a Datasession still opened without any table on it (!?).
>
>Maybe my code is wrong, I would like to know if it´s possible to have a datasession opened even after destroying the formset that opened it-
>
>Any help will be appreciated,
>Thanks
>
>Pablo Velazco
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform