Date Field: > than 4 years

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello.
I am creating a query to pull up all item purchased 4 years or older.
In the query "data field" how should I write up the criteria?


Thanks.
Iram/mcp
 
Try using the DateAdd function to retrieve the data

Select * From TableName Where DateFieldName < DateAdd("yyyy",-4,Date())
 

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

Similar Threads


Back
Top