I need to create a query to show me all orders that are 30 days old from the
day I run the report. I really don't even know where to start. My guess is
I have to calculate it in Ship Date to be less than 30days from Now. But I
don't know what the formula should look like.
Your question "orders that are 30 days old from the day" and "to be
less than 30 days from Now" is not clear.
Do you wish to return records from 30 days AGO to the current date?
As criteria on the DateField, write:
Between DateAdd("d",-30,Date()) and Date()
Do you wish to return records from the current date to 30 days in the
FUTURE?
Between Date() and DateAdd("d",30,Date())
Do you wish to return records that are EXACTLY 30 days in the past?
As criteria on the DateField, write:
Date()-30
Do you wish to return records that are EXACTLY 30 days in the future?
As criteria on the DateField, write:
Date() + 30
Do you wish to return records that are MORE than 30 days in the past?
As criteria on the DateField, write:
<Date()-30
Be careful when wanting to use the Now() function to filter dates.
Now() includes a Date and Time value and therefore you may get
different results, depending upon the time of day you run the query.
Date() includes just the Date (the Time value is always midnight).