johnny_swindle
New member
- Local time
- Today, 08:58
- Joined
- Jul 17, 2017
- Messages
- 8
I am attempting to help a non-profit organization with their access database. The question is: how to count the number of clients who have receive services in more than one category during a specific time frame.
client table: holds demographic data; cID if primary key, autonumber
service table: holds services that have been issued to the clients: serviceID primary key, autonumber, cID foreign key linking to client table
Let's call the service categories Cat1, Cat2, Cat3, etc. that relates to a specific administrative category of the item that the patient received.
Finding the client and all of the categories within a time frame is not a problem. However, I am not able to think of a way to pull out the client(s) that have gotten service in say Cat1, and Cat2 and be able to count the number of clients.
Hopefully my explanation is somewhat clear.
Johnny
client table: holds demographic data; cID if primary key, autonumber
service table: holds services that have been issued to the clients: serviceID primary key, autonumber, cID foreign key linking to client table
Let's call the service categories Cat1, Cat2, Cat3, etc. that relates to a specific administrative category of the item that the patient received.
Finding the client and all of the categories within a time frame is not a problem. However, I am not able to think of a way to pull out the client(s) that have gotten service in say Cat1, and Cat2 and be able to count the number of clients.
Hopefully my explanation is somewhat clear.
Johnny