In query design view, choose Parameters on the Query menu.
Enter whatever paramters you want, one per line.
Then use exactly the same names in the Criteria of the query.
Declaring parameters is always a good idea, as it helps JET to understand
the data type. In a crosstab it is essential (unless you use the Column
Headings property of the crosstab query.)