Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form tries to set data session to non-existent data sess
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00247934
Message ID:
00248406
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform