Microsoft KB Archive/92964

= Microsoft Knowledge Base =

FIX: REPLACE Command Cannot Modify Field Named &quot;RECORD&quot;
Last reviewed: September 22, 1997

Article ID: Q92964

2.10 MS-DOS kbprg kbbuglist kbfixlist

The information in this article applies to:


 * Microsoft FoxBASE+ for MS-DOS, version 2.1

SYMPTOMS
In Microsoft FoxBASE+ for MS-DOS, when the REPLACE command is used to change the contents of a field named &quot;RECORD,&quot; an &quot;Unrecognized phrase/keyword in command&quot; error occurs because the word &quot;record&quot; is a scope clause.

For example, the following FoxBASE+ code returns the error listed above:

replace record with &quot;SOMETEXT&quot; NOTE: The &quot;unrecognized phrase/keyword in command&quot; error does not occur in Microsoft FoxPro version 2.0 for MS-DOS.

CAUSE
Microsoft has confirmed this to be a bug in Microsoft FoxBASE+ version 2.1 for MS-DOS.

RESOLUTION
This problem was corrected in Microsoft FoxPro version 2.5 for MS-DOS, and in Microsoft FoxPro version 2.5 for Windows.