Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access selected table
Message
 
To
11/10/1998 19:15:11
Cheryl Qualset
Qualset Computer Consulting
Davis, California, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00145783
Message ID:
00148124
Views:
19
Cheryl,

>Sometimes, since I have implemented this in a cNoListBizObjMaintForm, when the form is closed, I get one or two 'cannot access selected table' error messages. These are VFP error messages, not app error messages.>

You will often get this error message if you have a dangling object reference in your form.

If your form contains a dangling reference to an existing object, Visual FoxPro will not release the form. The form's business objects will often be able to close their associated cursors, but the form itself remains alive due to the dangling reference. At that point, form code continues to execute, but since the associated cursors have been closed, you get the "cannot access selected table" message.

It can be difficult to track down a dangling reference, but when you find it, you can clear the reference by setting it to .NULL.

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
Reply
Map
View

Click here to load this message in the networking platform