R
Rashar Sharro via AccessMonster.com
Hi,
I have a query called qryCustomers.
I have a combo box called cboShip_Month. When the user selects Jan in the
combo box, a 1 is placed in my table under the Ship_Month column for each
customer; for Feb, a 2 will be placed, for Mar, a 3 will be placed etc...
What I would like to do is summarize how many months were selected for each
of the following months. I tried using the Count function, but the results
returned are blank.
Here is my script:
SELECT Count(qryCustomers.Ship_Month) AS Jan, Count(qryCustomers.Ship_Month)
AS Feb
FROM qryCustomers
HAVING (((Count(qryCustomers.Ship_Month))=1) AND ((Count(qryCustomers.
Ship_Month))=2));
Thanks in advance.
I have a query called qryCustomers.
I have a combo box called cboShip_Month. When the user selects Jan in the
combo box, a 1 is placed in my table under the Ship_Month column for each
customer; for Feb, a 2 will be placed, for Mar, a 3 will be placed etc...
What I would like to do is summarize how many months were selected for each
of the following months. I tried using the Count function, but the results
returned are blank.
Here is my script:
SELECT Count(qryCustomers.Ship_Month) AS Jan, Count(qryCustomers.Ship_Month)
AS Feb
FROM qryCustomers
HAVING (((Count(qryCustomers.Ship_Month))=1) AND ((Count(qryCustomers.
Ship_Month))=2));
Thanks in advance.