Date parameters on crosstab report?

C

CW

I am reporting on orders analysed by advertising source.
I have built my first crosstab query that works fine, and then a report
based on that which also works OK.
However, we need to select the date range (order date) for which it is
reporting.
In the past with ordinary select queries I have simply added Between [Enter
start date] And [Enter end date] to the appropriate date field column in the
design grid and it has worked fine.
But on this one it makes no difference - it either continues to display the
whole set of data, or nothing at all, depending on the syntax I use.
Is there something different about crosstab queries?
I assume I am correct in adding these parameters to the underlying query and
not to the report??
Could you please advise exactly what I should enter, and where, to achieve
what I want?
Many thanks
CW
 
J

John Spencer

First thing, with a crosstab query you MUST declare your parameters and if
any
other queries are used in the crosstab their parameters must also be
declared.

Open the query in design mode
Select Query: Parameters from the Menu
Fill in the EXACT name of the parameter in column 1
Select the data type of the parameter in column 2

--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 

Ask a Question

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.

Ask a Question

Top