Criteria question (1 Viewer)

AnnPhil

Registered User.
Local time
Today, 07:00
Joined
Dec 18, 2001
Messages
246
I need to create a query that will show me the list of Employees that were hired before June 1st of the current year. I have a field called Hired Date and tried to put something in the criteria for this field but nothing worked. example 06/01/Year(Date())

How do write it so it always looks for the current year?

Thanks for any help on this!
 

raskew

AWF VIP
Local time
Today, 01:00
Joined
Jun 2, 2001
Messages
2,734
Hi -

Try this in the criteria cell of your date field:

<DateSerial(Year(Date()),6,1)))

HTH - Bob
 

AnnPhil

Registered User.
Local time
Today, 07:00
Joined
Dec 18, 2001
Messages
246
Thats Bob that worked! However i didn't need all the ) at the end

Very helpful!!!!
 

Users who are viewing this thread

Top Bottom