Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private DataSession Won't Close Out?!?
Message
 
 
À
15/10/2002 21:42:28
Wally Noll
Double Aa Builders
Mesa, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00711562
Message ID:
00711563
Vues:
18
>To All,
>
>I'm using Private data sessions on many forms. So, DataSession property is set to 2 on these forms. Normally, when the form gets closed the private datasession goes away and all the views, cursors & tables in that datasession are closed without me doing anything. But on one form where the DataSession property is also 2 the private data session doesn't go away when the form is closed. The views are closed down, but the tables and the cursors I create are not closed. What am I doing wrong?? Does anyone know??
>
>Thank-you in advance
>
>Wally Noll

Hi Wally,

You may have dangling object reference. Do you instantiate any objects during form's existance? If so, you have to assign them to null in form's destroy.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform