I created a crosstab query and now I want to give the user the option to put criteria to filter the records to be included in the calculations.
I tried adding another column in my crosstab query and put criteria.
The user must choose a city from a combo box "city" on a form and the criteria on the field city of the query looks like [Forms]![ReportCriteria]![City]. Access doesn't accept this criterion and is giving me the message "The Microsoft Jet database engine does not recognize '[Forms]![ReportCriteria]![City]' as a valid field name or expression"
Is there a known limitation of access of not allowing user criteria in a crosstab query or am I doing something wrong?
I tried adding another column in my crosstab query and put criteria.
The user must choose a city from a combo box "city" on a form and the criteria on the field city of the query looks like [Forms]![ReportCriteria]![City]. Access doesn't accept this criterion and is giving me the message "The Microsoft Jet database engine does not recognize '[Forms]![ReportCriteria]![City]' as a valid field name or expression"
Is there a known limitation of access of not allowing user criteria in a crosstab query or am I doing something wrong?