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