I just created a table called tblFees with 1 field called Fee_Amount. I added 12 items, 9 = $5.00 and 3 = $0.00.
I created a query called PLL Fee Query with 1 field expression
Fee Type: IIf([Fee_Amount]=5,"Charged","No Charge"
Then I created a report with Fee Type in the DETAIL SECTION and 2 formulas in the PAGE FOOTER:
=DCount("[Fee Type]","PLL Fee Query","[Fee Type]='No Charge'"
to count the NO CHARGE items
and
=DCount("[Fee Type]","PLL Fee Query","[Fee Type]='Charged'"
to count the CHARGED items.
It worked fine.
I tried to keep the field, query names the same as your so you can almost just plug this in.
Changing the reference from the query to the table won't work the way you tried to do it, but you don't need to.
Give this a whirl...
Jim
"Get it right the first time, that's the main thing..."
![[wavey] [wavey] [wavey]](/data/assets/smilies/wavey.gif)