Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When or Where form's private datasession is released?
Message
 
To
07/08/2007 00:53:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01243755
Message ID:
01246396
Views:
37
Hi Juan,

>Today I have found that VPM base class is part of the situation because when I use FoxPro base class, it doesn't happen.

Then this actually starts making sense... I'd bet that ProMatrix has code in the Load event of the form that iterates through all cursors. Maybe to replace the database location, maybe for creating data handler objects for edit operations. This code is likely causing a dangling reference for this one view. By moving the cursor to the Init, you bypass this code and thereby the dangling reference. All you should make sure is that the bypassed code isn't essential for the operation of your form. For instance, changes might not be reverted in this cursor anymore when you cancel editing.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform