VarFilter = "[Employee ID]= #" & Forms!DateTimeDLookup!txtEmployeeID & "#"
I'm having trouble with EmployeeID Dlookupfunction. I want Access to show me employee's Last name and First name based on EmployeeID but in the video tutorial that I followed OP used Date of Birth instead, which is why there is "DateTimeDlookup", my EmployeeID field is "ShortText".
What should I have instead of DateTime (infront of Dlookup)
Thanks in advance.