I have what appears to be something simple that i cannot seem to figure out.
I have 2 tables, TblEmployeeMaster and TblTimeOff. They are joined by EmployeeNumber
I am trying to create a query that will only show me employees that do not have an entry in TblTimeOff for a date that is on a form.
The SQL is:
I hope this makes some sort of sense to someone. Any help/suggestions welcomed.
Thank you in advance!
Paul
I have 2 tables, TblEmployeeMaster and TblTimeOff. They are joined by EmployeeNumber
I am trying to create a query that will only show me employees that do not have an entry in TblTimeOff for a date that is on a form.
The SQL is:
Code:
SELECT tblEmployeeMaster.EmployeeNumber, tblEmployeeMaster.EmployeeFirstName, tblEmployeeMaster.EmployeeLastName, TblTimeOff.timeoffdate
FROM tblEmployeeMaster LEFT JOIN TblTimeOff ON tblEmployeeMaster.EmployeeNumber = TblTimeOff.EmployeeNumber
WHERE (((TblTimeOff.timeoffdate)<>[forms]![frmshiftconfiguration]![txtstartdate]));
Thank you in advance!
Paul