A
Andrew_Wilson
Hello, Sorry for the newbie question here. I am trying to create a query
that will count unique data from a field based on a date. Here is an example
of my table data.
Color: Date:
Red 6/18/06
Red 6/20/06
Red 6/25/06
Blue 6/28/06
Blue 7/15/06
Blue 9/20/06
In my query I have put in Criteria for date parameters that ask for the
month and year. Then what I would like to see is once I enter the month and
year, for example 6/2006 it will let me know that there are 3 reds and 1 blue
for that month. What would be really nice is to have this result in thier
own field. For example: Field:countRed = 3 Field countBlue=1. That way I
could pull that data in another query or a report.
This is actually just an example of that data Im using. Im actually creating
a Baby Delivery Logbook, just wanted to leave out the details. But for each
delivery, you would have different anesthesia types, different delivery
types, etc. I want to be able to count the delivery types based on a
specific month/year. Then also be able to use that data in like a summary
report for the month.
Sorry if Im confusing anyone, or if I didnt give enough info and thanks for
any help in advance.
Andrew
that will count unique data from a field based on a date. Here is an example
of my table data.
Color: Date:
Red 6/18/06
Red 6/20/06
Red 6/25/06
Blue 6/28/06
Blue 7/15/06
Blue 9/20/06
In my query I have put in Criteria for date parameters that ask for the
month and year. Then what I would like to see is once I enter the month and
year, for example 6/2006 it will let me know that there are 3 reds and 1 blue
for that month. What would be really nice is to have this result in thier
own field. For example: Field:countRed = 3 Field countBlue=1. That way I
could pull that data in another query or a report.
This is actually just an example of that data Im using. Im actually creating
a Baby Delivery Logbook, just wanted to leave out the details. But for each
delivery, you would have different anesthesia types, different delivery
types, etc. I want to be able to count the delivery types based on a
specific month/year. Then also be able to use that data in like a summary
report for the month.
Sorry if Im confusing anyone, or if I didnt give enough info and thanks for
any help in advance.
Andrew