Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private DataSession Won't Close Out?!?
Message
From
16/10/2002 20:04:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/10/2002 16:26:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00711562
Message ID:
00712092
Views:
16
>That is excellent suggestion.

Excellent suggestion, but it didn't work <g>.

> I checked thuroughly. that wasn't the case. In my test the only data changed was to a cursor i created in memory that wasn't even buffered or associated with a dbc or de property, just changed as the Load occurred.

Does the form really have a private datasession?

>It also didn't matter that I had just this form up alone, or this form plus 4 or 5 others also. All the forms are from the same class. Just this one form behaves this way. Specifically, I close it and the datasession doesn't go away. The views which are buffered go down OK. The tables are left behind along with that 1 cursor made on the fly.
>
>I'm going to try alternative methods to work-around.

Try to close all tables manually. Having a private datasession should do this automatically, but who knows. Perhaps you will even get a relevant error message, why you can't close the tables.

I am not sure which would be the appropriate method for this. Destroy() or QueryUnload(), probably.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform