D
Don
Unable to find a solution based upon the answers already posted.
I have a report in which I need to count the number of occurrences for each
of the following controls. [ReviewID] [claimID] [ServiceID] - (these are all
text or numeric fields) and [audit] (this is a yes/no checkbox field)
When I run the query, I see a lot of duplicate data as a [ReviewID] may
contain multiple [claimID]s, and each [claimID] may contain multiple
[serviceID]s. I have the contols set to hide duplicate values. I can set an
unbound control on the report to count these columns of data, but I only want
to count each unique occurrence one time, and because each column may be a
subset of another, I cannot restrict the data in the query. For example
ReviewID ClaimID ServiceID Audit
1 a 77 x
1 a 78
1 b 22
2 c 55 x
2 c 77 x
________________________________________________
Desired results
2 3 5 3
Current results
5 5 5 5
Any help would be greatly appreciated.
I have a report in which I need to count the number of occurrences for each
of the following controls. [ReviewID] [claimID] [ServiceID] - (these are all
text or numeric fields) and [audit] (this is a yes/no checkbox field)
When I run the query, I see a lot of duplicate data as a [ReviewID] may
contain multiple [claimID]s, and each [claimID] may contain multiple
[serviceID]s. I have the contols set to hide duplicate values. I can set an
unbound control on the report to count these columns of data, but I only want
to count each unique occurrence one time, and because each column may be a
subset of another, I cannot restrict the data in the query. For example
ReviewID ClaimID ServiceID Audit
1 a 77 x
1 a 78
1 b 22
2 c 55 x
2 c 77 x
________________________________________________
Desired results
2 3 5 3
Current results
5 5 5 5
Any help would be greatly appreciated.