Hi,
I'm working on DLookup with 3 criteria in the following scripts
Dim iRoatation, iSession as integer;
iRoataton = 1
iSession = 1
DLookup("[Session]","tblTAssign_FPA","[AcademicYr] = " & txtApptYr.Value & " AND " & [Rotation] = iRotation & " AND " & [Session] = iSession & ")"
However, it is syntax error. Would you have any suggestions?
NT100
I'm working on DLookup with 3 criteria in the following scripts
Dim iRoatation, iSession as integer;
iRoataton = 1
iSession = 1
DLookup("[Session]","tblTAssign_FPA","[AcademicYr] = " & txtApptYr.Value & " AND " & [Rotation] = iRotation & " AND " & [Session] = iSession & ")"
However, it is syntax error. Would you have any suggestions?
NT100