Hello!
I am attempting to lookup the date an employee attended a training event, from within a subform. Main form: Employees, Subform: EmployeesRequiredTraining, Query where I'm trying to get data from:EMPLOYEEATTENDANCE. My lookup statement:
Code:
=DLookUp("eventdate","EMPLOYEEATTENDANCE","[EmployeeID] & "=[Forms]![Employees]![EmployeeID]) And ([EventID]=[EventID])
. It returns blank. At one point it returned -1, and another point 12/1/1899. Can't remember what I had changed to get those.
What am I missing? TIA!
P.S. Not sure if it matters, the form I'm trying to lookup from is a continuous form.