I have a table [tblClientVisits] related to a table [tblClients] by a [ClientID] foreign key.
I have a number of Yes/No fields in [tblClientVisits]which are grouped into "categories". e.g.
Category1Question1YesNo
Category1Question2YesNo
Category1Question3YesNo
Category2Question1YesNo
Category2Question2YesNo
Category2Question3YesNo etc. etc.
For each "category" I'm trying to find out how many unique clients ticked Yes for one or more of the yes/no fields in the category.
I'm not interested in how many of the fields they ticked, just if they ticked yes in one of the fields in a given category. I then want a count of the unique clients who had ticked Yes.
I think I'll need to test for a Yes in each of the fields in each category for each client but I'm not sure how to implement this.
Any ideas please?
Thanks
I have a number of Yes/No fields in [tblClientVisits]which are grouped into "categories". e.g.
Category1Question1YesNo
Category1Question2YesNo
Category1Question3YesNo
Category2Question1YesNo
Category2Question2YesNo
Category2Question3YesNo etc. etc.
For each "category" I'm trying to find out how many unique clients ticked Yes for one or more of the yes/no fields in the category.
I'm not interested in how many of the fields they ticked, just if they ticked yes in one of the fields in a given category. I then want a count of the unique clients who had ticked Yes.
I think I'll need to test for a Yes in each of the fields in each category for each client but I'm not sure how to implement this.
Any ideas please?
Thanks