Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access selected table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00097895
Message ID:
00097904
Vues:
26
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform