Date Criteria

jim11

Registered User.
Local time
Yesterday, 23:24
Joined
Dec 29, 2004
Messages
29
Ive got a table called tblHistory. It contains a field called MOTDate (this field is in date/time data type format set on long date. Im trying to make a query that will display any table entry that has an MOTDate within the next 30 days. I think i need to put something into the Criteria for the MOTDate field in the query, but im not 100% sure.

Any help would be appriciated.

Thanks
Jim
 
Date

In the Query Criteria field of MotDate put:

Between DateAdd ("d", 30, Date()) And Date()
 
thanks guys, that sorted it :)
 

Users who are viewing this thread

Back
Top Bottom