How do I select a range of transaction dates in a crosstab query

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to select dates within a particular range that varies each time from
my crosstab query. My query returns all the data each time regardless of what
parameters I put in.
 
You must explicity declare your parameters in a crosstab query (unless you
specify column headings.)

1. In query design view, choose Parameters on the Query menu.
Enter 2 rows in the dialog:
StartDate Date
EndDate Date
Close the dialog.

2. Add your date field to the query grid (again if you already have it
there.)
In the Total row under this field, choose:
Where
In the Criteria row, enter:
Between [StartDate] And [EndDate]
 

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

Back
Top