ACC97: Syntax Error (Missing Operator) in Query Expression '()'ID: Q174727
|
Moderate: Requires basic macro, coding, and interoperability skills.
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 '()'
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:
Field: True
Show: No
Criteria: <>False
Microsoft has confirmed this to be a problem in Microsoft Access 97.
Action
----------
OpenReport
Action Arguments
---------------------
Report Name: MyReport
View: Print Preview
Filter Name: MyQuery
Syntax error (missing operator) in query expression '()'.
Additional query words: pra
Keywords : kberrmsg McrProb
Version : 97
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 13, 1999