Hi there--I'm pretty new to Access, so hopefully this should be a simple fix:
This DB is meant to manage and report clients and their associated investments. I have a CLIENTS table, and a PROGRAMS table (think "products') with a SUBSCRIPTIONS (think "orders") table as a junction between them. There is a yes/no field on the Clients table to indicate "Accredited Status". Yes means the client is accredited, and No means he is not.
By default, there can only be one product per order, but obviously a single customer can have multiple orders of the same product. For example, the SUBSCRIPTIONS table might look like this:
ID ClientID ProgramID QTY SubscriptionType
1 Smith A 1 IRA
2 Smith A 2 Trust
3 Jones A 1 IRA
I have a report that summarizes the SUBSCRIPTIONS table, grouped by ProgramID. Let's assume that both Clients' accredited status is "Yes". I need a field that counts the number of unique ClientIDs with a "Yes" value in the Client's Accredited Status field.
Using the example table above, the count should be 2 since Smith is the same client, but so far, I can only get it to give me an output of 3 since there are 3 subscriptions. Can anyone assist me with this conundrum? Thanks!