Thanks lbass! I knew there was a simple solution. Here is my formula that works, I placed it in the report header so the value is now available for comparison on the first record:
local numbervar ParamWeekday;
local numbervar DayCount;
If {?DaysOfWeek} = "Sun" then ParamWeekday:= 1
else...
I have 3 parameters in a report:
1. {?FromDate}
2. {?ToDate}
3. {?DayWeek} (a 3 letter representation of a day i.e. "Sun")
I need to calculate the number of times the specific {?DayWeek} day occurs between {?FromDate} and {?ToDate}. If the {?DayWeek} occurs on the {?FromDate} or {?ToDate}, it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.