Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing Private Datasessions
Message
De
04/05/1998 14:14:41
 
 
À
04/05/1998 13:56:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00096781
Message ID:
00096796
Vues:
21
>>I'm having trouble with a reference hanging out there on a form, leaving a private datasession open after the form is closed.
>>
>>I call the form with a DO FORM (tried both NAME clause and without)
>>
>>Tried calling it from oApp.DOFORM() (Similar to TazTraders)
>>
>>I exit the form with a thisform.release(), and I tried RELEASE thisform.
>>
>>None of these gets rid of the pesky Datasession.
>>
>>In my app cleanup code, my CLEAR ALL runs through the destroy method of the form's objects, and it's not happy. I get a Dr Watson every time.
>>
>>Help, anyone ?
>>
>>Thanks !
>"Clear all" is dangerous I think. Instead in your form.de, set autoclosetables = .t.
>Cetin

Cetin -
thanks for your reply, but by the time I issue the CLEAR ALL, the datasessions are supposed to be gone. It's a final clean up. (As recommended by MS, but we all know how risky those recommendations are...)

Anyway - I do have the autoopen and autoclose both set to .T.
The Datasessions are still hanging...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform