PRB: "SQL Column '<Memvar>' Not Found" and Empty RQBE WindowID: Q112837 2.50 2.50a 2.50b 3.00 | 2.00 2.50 2.50a 2.50b | 2.50b
The information in this article applies to:
SYMPTOMSWhen you are opening or modifying a previously saved query, the error message "SQL Column '<variable name>' Not Found" appears. After the error message is displayed, the query will open, but everything except the table(s) used will be lost (including selected fields and WHERE conditions).
CAUSEThis behavior is caused by referring to a variable in a query and then opening or modifying the query when the variable is not in memory.
RESOLUTIONMake sure the variable is defined in memory before opening or modifying the query. Make sure not to save the changes to the query after it opens up empty. The error message will indicate the variable that needs to be in memory.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior1. Type x="CA" in the FoxPro command window. 2. USE the SALESMAN database found in the TUTORIAL subdirectory. 3. Create a new query using the RQBE window. 4. Set up the Selection Criteria as follows:
5. Run the query to make sure it works. It should select four records
6. Save and close the query.
7. In the command window, type "RELEASE x" (without the quotation marks). 8. Open or modify the query. The error message "SQL column 'x' not found" 9. Don't save the empty query. If you do, the missing information will be
If the variable or variables used in the query are restored, the query will
open correctly.
Additional reference words: VFoxWin FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b missing errmsg err msg KBSubcategory: FxtoolRqbe
|
Last Reviewed: May 22, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |