J
James
I am trying to show all of the dates in the calendar even if there are no
events for that date. However when I try to filter them and show only the
events for a certain employee but still show all of the days it does not
work. I can only show all of the record with no employee or only the days
where the employee and the date are equal. If this is not to confusing this
is the current code. Can anyone help? Thanks in advance.
SELECT Calendar.CalDate, tblEvents.DODate, tblEvents.PUDate,
tblEvents.TotalHours, tblEvents.rndhours, tblEvents.LimoID
FROM Calendar LEFT JOIN tblEvents ON Calendar.CalDate = tblEvents.PUDate
WHERE (((tblEvents.EmployeeID)=[forms]![frmDriver]![cmbDriver]))
GROUP BY Calendar.CalDate, tblEvents.DODate, tblEvents.PUDate,
tblEvents.TotalHours, tblEvents.rndhours, tblEvents.LimoID;
events for that date. However when I try to filter them and show only the
events for a certain employee but still show all of the days it does not
work. I can only show all of the record with no employee or only the days
where the employee and the date are equal. If this is not to confusing this
is the current code. Can anyone help? Thanks in advance.
SELECT Calendar.CalDate, tblEvents.DODate, tblEvents.PUDate,
tblEvents.TotalHours, tblEvents.rndhours, tblEvents.LimoID
FROM Calendar LEFT JOIN tblEvents ON Calendar.CalDate = tblEvents.PUDate
WHERE (((tblEvents.EmployeeID)=[forms]![frmDriver]![cmbDriver]))
GROUP BY Calendar.CalDate, tblEvents.DODate, tblEvents.PUDate,
tblEvents.TotalHours, tblEvents.rndhours, tblEvents.LimoID;