The follow formula determines the number of pending assignments (PendCnt) for any particular date (DDATE):
if ( (IsNull({ALL_ASSIGNMENTS.Date Completed})) or ({ALL_ASSIGNMENTS.Date Completed} > DDATE) and
(Date({ALL_ASSIGNMENTS.Date Assigned}) <= DDATE) then PendCnt := PendCnt + 1
I would like to get an historical snap shot of the number of pending assignments over the past couple years for a particular day of each month. Since each calendar month has a 15th, I want to automate the report so that, say, DDATE starts at 1/15/2002 and runs for each 15th day of each month to the present.
What would be the best way to start DDATE at 1/15/2002, run the formula and report PendCnt, increment DDATE to 2/15/2002, rerun and report, etc. until 1/15/2006??
if ( (IsNull({ALL_ASSIGNMENTS.Date Completed})) or ({ALL_ASSIGNMENTS.Date Completed} > DDATE) and
(Date({ALL_ASSIGNMENTS.Date Assigned}) <= DDATE) then PendCnt := PendCnt + 1
I would like to get an historical snap shot of the number of pending assignments over the past couple years for a particular day of each month. Since each calendar month has a 15th, I want to automate the report so that, say, DDATE starts at 1/15/2002 and runs for each 15th day of each month to the present.
What would be the best way to start DDATE at 1/15/2002, run the formula and report PendCnt, increment DDATE to 2/15/2002, rerun and report, etc. until 1/15/2006??