Hello All,
I'm trying to create a formula that returns records for the previous year up to the previous Saturday.
I have two date formulas:
Code:
StartDate: CurrentDate - 366
EndDate: {table1.DateField} - (dayofweek({table1.DateField},crSaturday)-1)
In my record selection formula I have this:
Code:
{table1.DateField} >= {@StartDate} and
{table1.DateField} <= {@EndDate}
However, this is only returning records for Saturday Dates (02/25/2012, 03/03/2012, 03/10/2012, etc.).
I need the report to return all dates in the date range.
Any/All advice would be greatly appreciated!
Thanks,
- LM