you can also use DSum() function in your report:
say for "Total of class 5th:"
add an Unbound textbox (to the right of "Total of class 5th") (name it txt5thTotal)
on its ControlSource property:
=DSum("theFieldToSum", "yourTableName", "Active_Class = '5th'")