I have a query that has three fields
Date, Catagory, Cost
The date is pulled from a form that gets a beginning date and end date. The query in the date field criteria is:
Between [Forms]![frmChartSelector]![txtBeginDate] And [Forms]![frmChartSelector]![txtEndDate]
When I run the query the data looks fine.
Im using the chart wizard to chart by catagory, total sales per month.
I get an error when executing the chart:
The Microsoft Jet Database does not recognize '[Forms]![frmChartSelector]![txtBeginDate]' as a valid field name or expression.
If I replace the query with the dates directly, it works fine.
Any Idea why the dates pulled from the fields on a form dont work?
Thanks In Advance
Date, Catagory, Cost
The date is pulled from a form that gets a beginning date and end date. The query in the date field criteria is:
Between [Forms]![frmChartSelector]![txtBeginDate] And [Forms]![frmChartSelector]![txtEndDate]
When I run the query the data looks fine.
Im using the chart wizard to chart by catagory, total sales per month.
I get an error when executing the chart:
The Microsoft Jet Database does not recognize '[Forms]![frmChartSelector]![txtBeginDate]' as a valid field name or expression.
If I replace the query with the dates directly, it works fine.
Any Idea why the dates pulled from the fields on a form dont work?
Thanks In Advance