Hello
I am stuck big time. If anyone find the answer, I am very appreciated. I have to write up a report that show the data in the last 24 hours. It is easy, all I have to do is write "{Data.field}=CurrentDate-1". Now here the problem, if the date fall on Monday, how to write formula that included Friday, Saturday, and Sunday? Thanks
This is the formula:
If DayofWeek(CurrentDate) in [5] then
{Data.Field} <> "Closed" and
{Date.Field} = (CurrentDate - 1)
Else
{Data.Field} <> "Closed" and
{Date.Field} = CurrentDate
I am stuck big time. If anyone find the answer, I am very appreciated. I have to write up a report that show the data in the last 24 hours. It is easy, all I have to do is write "{Data.field}=CurrentDate-1". Now here the problem, if the date fall on Monday, how to write formula that included Friday, Saturday, and Sunday? Thanks
This is the formula:
If DayofWeek(CurrentDate) in [5] then
{Data.Field} <> "Closed" and
{Date.Field} = (CurrentDate - 1)
Else
{Data.Field} <> "Closed" and
{Date.Field} = CurrentDate