This is a little hard to explain, but here goes:
I have a table that holds contacts, a table that holds categories, and a many-to-many table that holds what contact belongs to what category. Each contact can belong to multiple categories, and each category can have multiple contacts.
Sample dataset
CONTACT_ID : CATEGORY_ID
1 : 2
1 : 3
1 : 4
2 : 3
2 : 4
Now, what I want to do is, get a recordset returned that shows contacts that have are a part of multiple categories. So, for example, I want to know all contacts that are in categories 1, 2, and 3.
Any ideas??
I have a table that holds contacts, a table that holds categories, and a many-to-many table that holds what contact belongs to what category. Each contact can belong to multiple categories, and each category can have multiple contacts.
Sample dataset
CONTACT_ID : CATEGORY_ID
1 : 2
1 : 3
1 : 4
2 : 3
2 : 4
Now, what I want to do is, get a recordset returned that shows contacts that have are a part of multiple categories. So, for example, I want to know all contacts that are in categories 1, 2, and 3.
Any ideas??