I have a form which asks for two parameter dates and I want to run two reports, each one based on those start and end dates.
For each report, I have created:
· select query – works fine
· crosstab query, based on the select query – works fine
· Report, based on the crosstab query – PROBLEM
The Microsoft Jet database engine does not recognize ‘’ as a valid field name or expression.
Having read some other threads here (mainly Pat Hartmann replies), I defined the parameters in the crosstab queries as follows:
[Forms]![from Operations]![Reportdate1] - date/time format
[Forms]![from Operations]![Reportdate2] - date/time format
For good measure I defined them again in the select query, because I’m sure I read in one of the replies that they also have to be defined in any underlying queries.
But when I try to run either of the reports, I still get the message above. These reports worked OK when I designed them first, but at that point they were not based on any date parameters. As I said, both crosstab queries work OK, so I’m puzzled as to why the reports don’t. Do I need to redefine the parameters again, maybe in the report?
Grateful as always for help.
For each report, I have created:
· select query – works fine
· crosstab query, based on the select query – works fine
· Report, based on the crosstab query – PROBLEM
The Microsoft Jet database engine does not recognize ‘’ as a valid field name or expression.
Having read some other threads here (mainly Pat Hartmann replies), I defined the parameters in the crosstab queries as follows:
[Forms]![from Operations]![Reportdate1] - date/time format
[Forms]![from Operations]![Reportdate2] - date/time format
For good measure I defined them again in the select query, because I’m sure I read in one of the replies that they also have to be defined in any underlying queries.
But when I try to run either of the reports, I still get the message above. These reports worked OK when I designed them first, but at that point they were not based on any date parameters. As I said, both crosstab queries work OK, so I’m puzzled as to why the reports don’t. Do I need to redefine the parameters again, maybe in the report?
Grateful as always for help.