FIX: Cannot Reference SQL-SELECT Cursor Name in FoxPro 2.0

Last reviewed: October 20, 1997
Article ID: Q112702
2.00 MS-DOS kbprg kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft FoxPro for MS-DOS, version 2.0

SYMPTOMS

In FoxPro 2.0 for MS-DOS, a cursor created using the SQL - SELECT command can have a name beginning with a numeric character. However, you cannot reference the cursor by the name you gave it.

CAUSE

You cannot reference the cursor because the numbers in the cursor name conflict with the numbers of the work areas.

STATUS

Microsoft has confirmed this to be a problem in FoxPro version 2.0 for MS-DOS. This problem was corrected in FoxPro version 2.5 for MS-DOS.

MORE INFORMATION

This problem occurs because FoxPro version 2.0 for MS-DOS accepts anything that looks like a filename and then assigns an alias to it. The error checking in FoxPro version 2.5 and later versions has been improved to better handle this situation.

For additional information, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q95723
   TITLE     : Syntax Error on SELECT Statement Using SYS(3)


Additional reference words: FoxDos buglist2.00 fixlist2.50 2.00
KBCategory: kbprg kbfixlist kbbuglist
KBSubcategory:
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.