In your criteria for termdate, you have Term, and not
TermDate.
-----Original Message-----
Here you go
SELECT tblEmployeeInfo.SSN, tblEmployeeInfo.LName,
tblEmployeeInfo.InformalName, tblEmployeeInfo.Gender,
tblEmployeeInfo.HireDate, tblEmployeeInf

fficeCode,
tblEmployeeInfo.Jobtitle, tblEmployeeInfo.PositionType,
tblEmployeeInfo.Term,
tblEmployeeInfo.TermDate, tblEmployeeInfo.SepReason
FROM tblEmployeeInfo
WHERE (((tblEmployeeInfo.HireDate)<=[Enter HireDate]) AND
((tblEmployeeInfo.Term)>[Enter TermDate] Or
(tblEmployeeInfo.Term) Is Null));
:
Could you bring your query up in design view, then
under
view, select sql view? Copy and paste this into a
post,
so I can see exactly what you have typed.
-----Original Message-----
Hi Les,
Thanks for responding. I tried to do that and I got
the
following error
message:
"This expression is typed incorrectly or is too
complex
to be evaluated.
For example, a numeric expression may contain too many
complicated elements.
Try simplifying the expression by assigning parts of
the
expression to
variables."
Any ideas?
:
Hi Teri,
Create a parameter query, which will allow you to
specify a date. Select the data fields that you
want
to
display. Include HireDate and TermDate.
In criteria for HireDate you want:
<=[Enter Date]
In criteria for TermDate you want:
[Enter Date] or is null
-----Original Message-----
We have an employee database. I would like to run
a
query that tells me who
was working for us at a point in time. Example:
what
drivers were working
for us on February 1, 2004?
Our database has a HireDate and TermDate field.
Can
someone please help?
.
.
.