blaggers
04-20-2002, 12:17 PM
I have a Access 2000 DB that lists items received in a warehouse. Its very simple - DateIn, Agency and Quantity are the main fields.
I am trying to build a query that prompts the user to enter the month and year between 2 dates and then show total items received between those 2 dates.
So far I have
Between [Type the beginning date:mmmm yyyy] And [Type the ending date:mmmm yyyy] In the criteria of my Date feild.
An Agency field "Grouped by"
and
Sum of Quantity: for the Quantity field
However when I run the query it returns the Agency totals by individual month. I just want a Grand total for each Agency between the dates input by the user. What am I doing wrong.
Thanks in advance.
I am trying to build a query that prompts the user to enter the month and year between 2 dates and then show total items received between those 2 dates.
So far I have
Between [Type the beginning date:mmmm yyyy] And [Type the ending date:mmmm yyyy] In the criteria of my Date feild.
An Agency field "Grouped by"
and
Sum of Quantity: for the Quantity field
However when I run the query it returns the Agency totals by individual month. I just want a Grand total for each Agency between the dates input by the user. What am I doing wrong.
Thanks in advance.