date control functions

  • Thread starter Thread starter CallGlen
  • Start date Start date
C

CallGlen

I want to use a delete query to automatically delete information 4 years old.
Is there something I can type into the "<now()" criteria to specify four
years?
Glen Longstreet
 
You can use the DateAdd() function:
<DateAdd("yyyy",-4,now())
 

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

Back
Top