Access 97
I am creating a report with a chart on it. The chart is based on a query that has uses "Between And" for one of the ctriteria. If I hardcode the dates in the query criteria:
Between #9/1/04# And #12/15/04#
the Report shows the graph as expected.
However if I try to read the dates from a form:
Between CDate([Forms]![**frmMetrics]![txbStart]) And CDate([Forms]![**frmMetrics]![txbEnd])
the report gives the following error:
The Microsoft Jet database engine does not recogize '[Forms]![**frmMetrics]![txbStart]' as a valid field name or expression
The query returns the data, but the report chokes on it...Any help would be greatly appreciated. TIA...
I am creating a report with a chart on it. The chart is based on a query that has uses "Between And" for one of the ctriteria. If I hardcode the dates in the query criteria:
Between #9/1/04# And #12/15/04#
the Report shows the graph as expected.
However if I try to read the dates from a form:
Between CDate([Forms]![**frmMetrics]![txbStart]) And CDate([Forms]![**frmMetrics]![txbEnd])
the report gives the following error:
The Microsoft Jet database engine does not recogize '[Forms]![**frmMetrics]![txbStart]' as a valid field name or expression
The query returns the data, but the report chokes on it...Any help would be greatly appreciated. TIA...