Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private DataSession Won't Close Out?!?
Message
 
 
To
15/10/2002 21:42:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00711562
Message ID:
00711563
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform