I have a query named "qryStudentMarkTable" which include student marks and some calculation fields. Another GroupBy query "qryStudentYearResults" which includes some functions to find students final result and averages. In the second query there is a calculated field named "ResFCourse" which is calculated by public function. Now, I want to Dlookup "ResFCourse" to a first query filed named "Res1". I tried many scenarios of using Dlookupwith but no avails I use:
However, my code stuck with the following error
Code:
Res1: DLookUp("[qryStudentYearResults]![ResFCourse]","[qryStudentYearResults]","[qryStudentYearResults]![StudentYearLevelID]=" & [StudentYearLevelID])