Thanks for your reply, Dominique. You're right... obviously students cannot review an attempt if they haven't made one. However, after the quiz closes, I would like ALL students to be able to see the questions and correct answers to the quiz, not just the students who have made an attempt.
If only the students who made an attempt can see the questions and answers, that disadvantages those who were not able to make an attempt (for whatever reason), when they go to review the quizzes in preparation for a final exam.
I have attached 2 screenshots. The one called "Moodle_quiz_closed_not_attempted" shows what a student sees when the quiz is closed but they did not attempt it. They cannot see questions or answers of the quiz. The attachment called "Moodle_quiz_closed_attempted" shows a review link, and when they click that they can see all the questions and answers (because I've set it that way in the quiz settings).
**What I want is for the students who did not attempt the quiz to be able to see the questions and answers after it closes, so that they too can review for a later exam.