Originally Posted by
June7
Did miss post 18 but 19 got my attention.
Forgot to explore that VBA code before. I get it now, you want to derive the letter grade, not have to manually enter it.
Regarding that VBA - if you want to convert assignment scores (or their average for class grade) to letter rating, that function will accomplish. Try:
1. Open the query Cumulative Class Percentiles in design view
2. Construct a new field with expression on the Field row that calls the function (copy/paste this):
GradeLtr: Derive_Grade(Sum((IIf(IsNull([Results].[Score]) Or [Grade] In ("P","F","A"),0,[Results].[Score])/[Assignments].[MaximumPoints])*[Assignments].[PercentOfGrade]))
3. Set the Total row for this field to Expression
4. Open query in datasheet view, see results
This means the Grade field in Students and Classes table is not needed. However, still need to modify reports to show this new field.