Microsoft KB Archive/112702

{| = FIX: Cannot Reference SQL-SELECT Cursor Name in FoxPro 2.0 =
 * width="100%"|

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
 * }