If you want to select the records for 30 days back and 30 days forward, try
this in the Criteria row of a query under your date/time field:
Between (Date() - 30) And (Date() + 30)

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
> Hi, I'm trying to do a query that will look at today's date =date() and
> compare with a date stored in a table and pull out if they are within 30
[quoted text clipped - 6 lines]
> DateDiff
> - any clues? Many, many thanks Sally T
sally t - 11 Nov 2005 12:46 GMT
Fantastic - that's perfect! Thank you very much Allen.
Sally
> If you want to select the records for 30 days back and 30 days forward, try
> this in the Criteria row of a query under your date/time field:
[quoted text clipped - 10 lines]
> > DateDiff
> > - any clues? Many, many thanks Sally T