I think I can do it in code like this:
temp = "QStudent " & [Forms]![Attendance and Lateness Main]![cmbYear] & "," & _
[Forms]![FStudent]![Sel_ID] & "," & [Forms]![FStudent]![Sel_Forename] & "," & _
[Forms]![FStudent]![Sel_Surname]
Set rsRDC = dbRDC.OpenRecordset(temp, dbOpenSnapshot...