Search for dates in future

D

Dgwood90

I am trying to build a query which will find experation dates of products
within 90 days
 
R

Rob Parker

Assuming that you mean within 90 days in the future, in the criteria for the
expiry date field, put:
=Date() And <DateAdd("d",Date(),90)

If you want those within the past 90 days, use
<=Date() And >DateAdd("d",Date(),-90)

HTH,

Rob
 
Top