You must use the Parameters declaration for a crosstab query. It's allowed for
any query, but it's *required* for a crosstab.
You can do it in two ways:
1. Open the query in Design view. Right mouseclick the grey background of the
tables window and select Parameters from the dropdown. Copy and paste the
exact parameter you're using from the Criteria box (or boxes) into the left
column of the Parameters window and select its datatype from the right column.
at the start of the query, before the SELECT or TRANSFORM or any other part of
the query. Use the exact parameter that you're using and specify its datatype.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.