Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datasession not closing
Message
De
20/11/1998 18:25:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual ProMatrix
Titre:
Datasession not closing
Divers
Thread ID:
00160027
Message ID:
00160027
Vues:
57
I have a modeless form (frm1), private datasession calling a modal form (frm2), private datasession. This form, in turn, can call a modal form (F2 picklist) needed. The when frm2 returns to frm1, without call F2 picklist, everything is fine, however, if the the F2 picklist (or any modal form) is opened from frm2, then problems start happening. the datasession for frm2 does not go away, and frm2 is still resident in memory as a null object. Even after releasing this null form, the datasession for frm2 does not go away. Normally, this would not be a problem, however, I need to do a refresh, to update frm1 based on the return from frm2. During the refresh, the datasession jumps to the unknown(3) datasession from frm2. I am able to catch this in the first refresh method that it comes across, but I doubt that trying to catch it there is prudent.

If anyone has had a similar problem or knows how to fix this, please let me know. I think that if I could just remove the unknown(3) datasession from memory, then my forms would be happy.

David
David
Répondre
Fil
Voir

Click here to load this message in the networking platform