Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Hans Leander
  Where is Hans Leander?
 Cleveland
 Ohio - United States
 Hans Leander
Subject: Cannot access the selected table
Thread ID: 462848 Message ID: 462848 # Views: 54 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: General VFP Topics
Date: Wednesday, January 9, 2019 1:55:53 AM         
   



Hello:

I get this error message: "Cannot access the selected table. States.Abbr"

I get this message when I

- edit and save combobox cboStates, which has RowSource: States.Abbr

and then

- close the form

The closing cmdReturn has this click code:

DO (THISFORM.menuorform) && Another form named in form property "menuorform"

THISFORM.Release()

---------------

The error does not occur if I do not edit and save.

The table States is open just before I click cmdReturn.

I have purposely left out any CLOSE, as it is said to be the most likely culprit if it is in the wrong place.

I cannot figure out why this happens, but perhaps you can give me a lead.

Thanks,

Hans L

ENTIRE THREAD

Cannot access the selected table Posted by Hans Leander @ 1/9/2019 1:55:53 AM
RE: Cannot access the selected table Posted by Stefan Wuebbe @ 1/9/2019 11:54:19 AM
RE: Cannot access the selected table Posted by Hans Leander @ 1/9/2019 4:34:19 PM