Is there a way to create a query that displays the quantity of records (instead of the records themselves) based on what those records are linked to another table?
I have a fairly simple mailing list database where contacts are associated with categories in a separate table. They can be associated with more than one category.
There are 8000+ records in the contact table, 50 types of categories, and 8500 records linking the 8000 contacts to the 50 different categories.
What I'm trying to do is create a form that, when opened, simply displays each category name and the number of contacts (contact records) associated with it.
For instance, if "Boy Scouts," "Girl Scouts," "Media," "College" & "Red Cross" are all categories that have multiple contacts linked to them, the form would simply open with:
Boy Scouts: 56
Girl Scouts: 112
Media: 592
College: 143
Red Cross: 69
Obviously, I'll want to numbers to automatically change whenever contacts are edited or new ones added. And when a new category is added, its totals should also appear.
Hope that makes sense. Is it difficult to do?
Thanks,
Kerry
I have a fairly simple mailing list database where contacts are associated with categories in a separate table. They can be associated with more than one category.
There are 8000+ records in the contact table, 50 types of categories, and 8500 records linking the 8000 contacts to the 50 different categories.
What I'm trying to do is create a form that, when opened, simply displays each category name and the number of contacts (contact records) associated with it.
For instance, if "Boy Scouts," "Girl Scouts," "Media," "College" & "Red Cross" are all categories that have multiple contacts linked to them, the form would simply open with:
Boy Scouts: 56
Girl Scouts: 112
Media: 592
College: 143
Red Cross: 69
Obviously, I'll want to numbers to automatically change whenever contacts are edited or new ones added. And when a new category is added, its totals should also appear.
Hope that makes sense. Is it difficult to do?
Thanks,
Kerry