ACC97: Syntax Error (Missing Operator) in Query Expression '()' (174727)
The information in this article applies to:
This article was previously published under Q174727 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you use the OpenReport action in a macro and specify a query name to
be used as a filter for the report, you may receive the following error
message when you run the macro:
Syntax error (missing operator) in query expression '()'
RESOLUTION
Use the RecordSource property to change the record source of the report to
the query.
-or-
Modify the query that is used as a filter for the report. To do so, follow
these steps:
- Open the query in Design view.
- Add the following field to the query grid:
Field: True
Show: No
Criteria: <>False
- Save and close the query.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 97.
Modification Type: | Major | Last Reviewed: | 9/27/2003 |
---|
Keywords: | kbbug kberrmsg KB174727 |
---|
|