Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access selected table
Message
 
À
11/10/1998 19:15:11
Cheryl Qualset
Qualset Computer Consulting
Davis, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00145783
Message ID:
00148124
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform