Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Last 3 months (UG!)

Status
Not open for further replies.

goldfishhh

IS-IT--Management
Jul 23, 2008
23
0
0
US
I'm beating my head against the wall on this one. I want to run a report during a month and have the date range be "past 3 months".

Help computer!
 
Try this:

if {datefield} in DateSerial(Year({?Start Date}),Month({?Start Date})-3,01)
to DateSerial(Year({?Start Date}),Month({?Start Date})-2,01-1)

Thanks so much!
satinsilhouette
 
Try using a record selection formula like this:

{table.date} in dateadd("m", -3, currentdate-day(currentdate)+1) to currentdate-day(currentdate)

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top