Howdy,
I am attempting to design a database for a local animal shelter to count how many dogs come through in a year, and I am fairly new to the access field. I have 5 queries, each specific to the type of animal... I have Dog, Cat, Kit, Pup, and Other. The SQL code for my 5 queries look like..
SELECT Count([ACO Report]!Type) AS Dogs
FROM [ACO Report]
WHERE ((([ACO Report]![Type]) Like "*Dog*"));
Like "*Dog*" is changed for each specific query. The cat is Like "*Cat*" and so on. These give the output number of how many dogs have come through. Now I added them to a report, to generate the total amount, using a subreport for each of the 5 queries. I have the general information required for this report now... except for one thing. I need to be able to specify how many dogs came through within a certain date...
I have a total of 94 dogs and 48 cats in my current database. However that spans 5 months. I would like to see how many dogs on the same report came through during January, or Jan-Feb.
I have another query that uses the criteria..
Between [First Date:] AND [Second Date:]
That allows me to locate all of the records within that certain date, but I do not know how to combine these 6 queries to give me the desired information. As a summary...
I have 94 dogs in 5 months.
I want to search the first 2 months to tell me I have X dogs during that time.
I want it on the same report.
If this is feasable, could I ask for some assistance in guiding me to the right path for achieving this? My Access 2000 Fundamentals book does not cover this topic. Thank you,
Bryan Elliott
I am attempting to design a database for a local animal shelter to count how many dogs come through in a year, and I am fairly new to the access field. I have 5 queries, each specific to the type of animal... I have Dog, Cat, Kit, Pup, and Other. The SQL code for my 5 queries look like..
SELECT Count([ACO Report]!Type) AS Dogs
FROM [ACO Report]
WHERE ((([ACO Report]![Type]) Like "*Dog*"));
Like "*Dog*" is changed for each specific query. The cat is Like "*Cat*" and so on. These give the output number of how many dogs have come through. Now I added them to a report, to generate the total amount, using a subreport for each of the 5 queries. I have the general information required for this report now... except for one thing. I need to be able to specify how many dogs came through within a certain date...
I have a total of 94 dogs and 48 cats in my current database. However that spans 5 months. I would like to see how many dogs on the same report came through during January, or Jan-Feb.
I have another query that uses the criteria..
Between [First Date:] AND [Second Date:]
That allows me to locate all of the records within that certain date, but I do not know how to combine these 6 queries to give me the desired information. As a summary...
I have 94 dogs in 5 months.
I want to search the first 2 months to tell me I have X dogs during that time.
I want it on the same report.
If this is feasable, could I ask for some assistance in guiding me to the right path for achieving this? My Access 2000 Fundamentals book does not cover this topic. Thank you,
Bryan Elliott