I have a table where I want to look up the reading grade for a student for a specific term. I have a form where I select the student, then a command button to generate the report. The code below is not generating the correct name.
=DLookUp("[ReadingGrade]","ReportCard","[Name] =' " & [Forms]![Student Reports]![Student] & " ' " And "[Term] = 2")
This does generate the correct term, but not the correct student. Is the a quotation issue?
Thanks.
=DLookUp("[ReadingGrade]","ReportCard","[Name] =' " & [Forms]![Student Reports]![Student] & " ' " And "[Term] = 2")
This does generate the correct term, but not the correct student. Is the a quotation issue?
Thanks.