I am having an issue when I have more than one record being returned. I get a "No current record" error message.
However if I only have one record being returned it works without any issue.
My query's SQL is below.
Any idea as to what is causing this issue?
Code:
SELECT tblRegistration.regRecordID, tblRegistration.stuID, tblTestSession.tsSession, tblRegistration.regApptChange, tblRegistration.regNoShow, tblRegistration.regAutoAppointment, tblRegistration.regTaken, tblRegistration.regDateofReg
FROM tblTestSession INNER JOIN tblRegistration ON tblTestSession.tsID = tblRegistration.tsTestSession
WHERE tblRegistration.regRecordID = (SELECT tblRegistration.regRecordID
FROM tblRegistration LEFT JOIN subqryRegistrationWithResults ON tblRegistration.regRecordID = subqryRegistrationWithResults.regRecordID
WHERE (((subqryRegistrationWithResults.regRecordID) Is Null)))