PRB: Syntax Error with the Query Wizard
Article ID: 141915
Article Last Modified on 9/30/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 3.0b Standard Edition
This article was previously published under Q141915
SYMPTOMS
When you use the Query Wizard or the Local View Wizard to build a query or
a local view, the wizard generates a syntax error. The only selection
criteria are the fields you use. This only happens with a specific table
named group.
CAUSE
The table name is not valid. The Query Wizard generates a SELECT-SQL
statement. In this case, the SELECT statement looks like this:
SELECT GROUP.* from GROUP
It generates a "Syntax error" because the name group is invalid.
WORKAROUND
Rename the table.
STATUS
This behavior is by design.
Additional query words: VFoxWin
Keywords: KB141915