Hi all,
I have a report based on a UNION ALL query. One of the criteria in the query is as follows:
This query works fine if I run it in its own right, the user is pormpted to enter a date range, and the data returned is filtered correctly based on the date range entered.
However, when I build bar chart on a report form the query, I get the following error message:
" The Microsoft Office Access database engine does not recognise '[Date From (dd/mm/yyyy)]' as a valid field name or expression. "
I dont understand this as the query works fine. Does the report not just launch the query and use the results?
Thanks
Foxy
I have a report based on a UNION ALL query. One of the criteria in the query is as follows:
Code:
(tblClosure.close_date>=[Date From (dd/mm/yyyy)] And tblClosure.close_date<=[Date To (dd/mm/yyyy)])
This query works fine if I run it in its own right, the user is pormpted to enter a date range, and the data returned is filtered correctly based on the date range entered.
However, when I build bar chart on a report form the query, I get the following error message:
" The Microsoft Office Access database engine does not recognise '[Date From (dd/mm/yyyy)]' as a valid field name or expression. "
I dont understand this as the query works fine. Does the report not just launch the query and use the results?
Thanks
Foxy