G
Guest
I would like to run a grouping query which has three fields.
Chart# Date Transaction Type
I would like to group the chart# and the Date but the Transaction Type is
for filtering the query only. There are many transactions types and I only
want specific types returned.
At the same time I only want 1 instance of the chart# to be returned each
day.
When I use group by for all fields I get several instances for each patient
because of the multiple transaction types.
I can accomplish this with 2 queries. In the 1st query I have group by set
for all fields. In the Sub Query I use group by for the Chart# and Date
fields only from the 1st query. This works but seems to run very slowly.
Is there a way I can accomplish this with 1 query.
Chart# Date Transaction Type
I would like to group the chart# and the Date but the Transaction Type is
for filtering the query only. There are many transactions types and I only
want specific types returned.
At the same time I only want 1 instance of the chart# to be returned each
day.
When I use group by for all fields I get several instances for each patient
because of the multiple transaction types.
I can accomplish this with 2 queries. In the 1st query I have group by set
for all fields. In the Sub Query I use group by for the Chart# and Date
fields only from the 1st query. This works but seems to run very slowly.
Is there a way I can accomplish this with 1 query.