PRB: "Syntax Err/Missing Operand" w/ .DBF Created in Other AppLast reviewed: June 28, 1995Article ID: Q114229 |
The information in this article applies to:
SYMPTOMSIf FoxPro opens a .DBF file that has invalid field names, a "Syntax Error" or "Missing Operand" error message will appear when you try to print or preview reports based on this table. A screen based on this table will generate the error message "Unrecognized phrase/keyword in command."
CAUSEIn FoxPro, legal characters for field names are A-Z, 0-9, and underscore (_). No other characters can be entered directly into a table setup. However, when you open a .DBF file that was created in an application that allows characters such as $, ?, and period (.), FoxPro will use the table with the illegal characters. However, any screens or reports based on this table will produce an error.
RESOLUTIONTo correct this problem, either go into the database setup and change the field names to valid FoxPro names, or change the field names in the application in which the .DBF file was created.
MORE INFORMATION
Steps to Reproduce Problem
|
Additional reference words: FoxDos FoxWin 2.50 2.50a 2.50b 2.60 2.60a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |