I have a report that prints patients and looks like this:
Charge Item
Date Number Item Description Payor Units
11/07/03 50 Debility A 10
11/10/03 50 Debility B 10
On my grand total section, I know how to add everything up, but my problem is I would like to show grand totals for all of the Payor A's, Payor B's seperate. I put an IIF statement in on my report footer, but it only reads the very last line, which in the above example would be B. Then it totals all of the units just fine but it places them next to B. Here is the example IIF that I used.
Part A units =IIF([Payor]="A",Sum([Units]),"0"
Part B units =IIF([Payor]="B",Sum([Units]),"0"
Thank you for your time!
AJ
Charge Item
Date Number Item Description Payor Units
11/07/03 50 Debility A 10
11/10/03 50 Debility B 10
On my grand total section, I know how to add everything up, but my problem is I would like to show grand totals for all of the Payor A's, Payor B's seperate. I put an IIF statement in on my report footer, but it only reads the very last line, which in the above example would be B. Then it totals all of the units just fine but it places them next to B. Here is the example IIF that I used.
Part A units =IIF([Payor]="A",Sum([Units]),"0"
Part B units =IIF([Payor]="B",Sum([Units]),"0"
Thank you for your time!
AJ