Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form tries to set data session to non-existent data sess
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00247934
Message ID:
00248406
Vues:
21
>Although I'm not sure what's happening to your form, here's some information that may help...
>
>All form classes in the Framework contain a "SessionEnvironment" object. When the form instantiates, the SessionEnvironment object calls up to a global instance of SessionEnvironment to retrieve any "application-wide" default session settings. When it does this, it passes its current data session number to just2.oenvironment.osessionenvironment.set().
>
>I recommend setting a breakpoint in your form's SessionEnvironment object's Set() method as follows, and tracing through code:
>
>SET STEP ON
>DODEFAULT()
>
>Regards,

I have found the problem. It is not iwth the form instantiate -- it is the release. For some reason the form is not completely closing it's private data session even after the form is released. Don't know what can cause this, but look forward to hearing suggestions.

Thanks
Thanks

Gar W. Lipow
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform