Year retrieval

M

Miskacee

"I have 5 years of data which has a hiredate". I would only like to retrieve
the current year's data. How do I do this in a query? I tried date(), Now()
but am drawing a blank.

Thank you.
 
J

John W. Vinson/MVP

"I have 5 years of data which has a hiredate". I would only like to retrieve
the current year's data. How do I do this in a query? I tried date(), Now()
but am drawing a blank.

Thank you.

A couple of ways; one that will take advantage of any index on the
hiredate field is to use a query on the table with a criterion of
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top