show only the records that have the date + 30 days

  • Thread starter Thread starter Frank Dulk
  • Start date Start date
F

Frank Dulk

How do I do in a query to show only the records that have the date + 30 days
that are smaller than the current date?
 
How do I do in a query to show only the records that have the date + 30 days
that are smaller than the current date?

Use a criterion of

< DateAdd("d", -30, Date())
 
In the Field: row of the query put [YourDate] + 30

In the Criteria: row of the query put <Date()
 
But sees that yours not this adding 30 days in the typed date:

would have to be:

MyDate + 30 <Dates ()

Does your example make that?

Excuse my question, but my knowledge are few
 
But sees that yours not this adding 30 days in the typed date:

would have to be:

MyDate + 30 <Dates ()

Does your example make that?

Mine is

Mydate < Date() - 30

It is simple algebra; the one expression adds 30 to MyDate before
comparing, the other subtracts 30 from Date before comparing.
 
Back
Top