A
Access To Access
I have set up a reporting DB which will export data from queries into excel
on the users c:/ drive.
To do this i created a simple user from with Start Date, End Date and Client
text boxes.
In the queries i used the [Forms]![frmReportExportCriteria]![txtStartDate]
in the criteria part of the query. So when they run the criteria it
automatically looks these values up, produces the data and exports.
But i have a crosstab which is based on one of these queries which will not
run with this setup. I have to actually save the value i want to input into
start date ie using #19/04/2007# which means the user would need to go into
the queries to both input and then run the report.
Why is this happening, what am i missing. The error i get is "the microsoft
Jet Database engine does not regognise
'Forms]![frmReportExportCriteria]![txtStartDate]as a valid fieldname or
expression.
I really need to get the criteria reading from the form not typed in the
query back-end.
on the users c:/ drive.
To do this i created a simple user from with Start Date, End Date and Client
text boxes.
In the queries i used the [Forms]![frmReportExportCriteria]![txtStartDate]
in the criteria part of the query. So when they run the criteria it
automatically looks these values up, produces the data and exports.
But i have a crosstab which is based on one of these queries which will not
run with this setup. I have to actually save the value i want to input into
start date ie using #19/04/2007# which means the user would need to go into
the queries to both input and then run the report.
Why is this happening, what am i missing. The error i get is "the microsoft
Jet Database engine does not regognise
'Forms]![frmReportExportCriteria]![txtStartDate]as a valid fieldname or
expression.
I really need to get the criteria reading from the form not typed in the
query back-end.