Microsoft KB Archive/126703

= PRB: "Cannot Access Selected Table" in Query Designer or RQBE =

Article ID: 126703

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q126703



SYMPTOMS
When a Visual FoxPro Query Designer query, or a FoxPro 2.x RQBE query is based on an underlying table that is closed while the query is still open in the RQBE power tool, FoxPro fails and returns this error message:

Cannot access selected table.



WORKAROUND
Do not close the table on which the query is based while you are in the the Query Designer or RQBE power tool.



STATUS
This behavior is by design.



Steps to Reproduce Behavior in FoxPro 2.x

 * 1) Use the SYS(2004)+"\TUTORIAL\CUSTOMER" database.
 * 2) In the Command window, type "Create Query Test."
 * 3) Click Window, View. Select the work area that the CUSTOMER table is open in. Then click Close. Choose Ok.

FoxPro fails and returns with the "Cannot access selected table" error message.

Additional query words: errmsg err msg error 1152

Keywords: kberrmsg KB126703

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.