Show grade with attempt

Show grade with attempt

by Kelly Thomas -
Number of replies: 1

I am trying to show the following fields on a report:

Course, ID, Name, Attempt, End Time, Elapsed Time, Grade

All the fields show up but the Grade seems to show the same for all attempts. I allow 3 attempts for the quiz. I want to see the progression of grades through their attempts.

The field I'm using is: mdl_quiz_grades.grade

Is there some way to sync the grade to the attempt? If so, what field should I be using?

Average of ratings: -
In reply to Kelly Thomas

Re: Show grade with attempt

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

quiz_grades stores the final grade obtained by combining all the different attempt grades.

The individual attempt grades are stored in quiz_attempts.sumgrades.