I am having fits with the empty fields and would appreciate any help. I am trying to identify employees who were actively employed on a certain date. I'm able to generate a list if they have been terminated. I can't seem to get those employee's who don't have a termination date (they are still hired). Here's the basic query:
PARAMETERS [Effective Date] DateTime;
SELECT tbl_FormValidity.[Employee ID], [Effective Date] AS [Effective Date], tbl_FormValidity.Hired, tbl_FormValidity.Terminated
FROM tbl_FormValidity
WHERE ((([Effective Date]) Between [tbl_FormValidity]![Hired] And [tbl_FormValidity]![Terminated]));
Thank you.
PARAMETERS [Effective Date] DateTime;
SELECT tbl_FormValidity.[Employee ID], [Effective Date] AS [Effective Date], tbl_FormValidity.Hired, tbl_FormValidity.Terminated
FROM tbl_FormValidity
WHERE ((([Effective Date]) Between [tbl_FormValidity]![Hired] And [tbl_FormValidity]![Terminated]));
Thank you.