PRB: "Syntax Err/Missing Operand" w/ .DBF Created in Other AppID: 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
10. From the Report menu, choose Page Preview. You will get one of these
Additional reference words: FoxDos FoxWin 2.50 2.50a 2.50b 2.60 2.60a
errmsg err
msg
KBCategory: kbother kberrmsg kbprb
KBSubcategory: FxinteropDbase
|
|
Last Reviewed: June 28, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |