Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access selected table
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00097895
Message ID:
00097904
Views:
25
>Hi,
>
>When in a form based on cBizObjMaintenanceForm, I have a ComboBox based on a view (another BizObj) and I click on the "Close" toolbar to close the form I always get this error. If I have 3 ComboBox (with RowSourceType = 6) I got 3 errors.
>
>Anyone had this problem before ? How are you implementing this ?
>

This error is typical of a "dangling" object reference.

If you have a dangling object reference, a form cannot be released. You may not realize the form has not been released because the CBaseForm.Destroy() method sets the Visible property of the form to .F. to make the form disappear more quickly.

To see if this is your problem, you can temporarily comment out this line of code and see if the form is getting released. If it is not, it almost always means you have a dangling object reference that needs to be released.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform