Hi All,
CR8 Progress 9.1c.
I have a lil quandry on my hands and i was wondering if anyone could help.
I have a report that has one group for (current date -380 days)displayed as month and year with the summery totals for date diffs running along the top from 1 to 12. The formula of these are as follows where the values go from 0 to 12 for each of the columns 1 to 12 as so below:
Date 0 1 2 3 4 5 6 7 8 9 10 11 12
Month1 X X X X X X X X X X X X X
Month2 X X X X X X X X X X X X
Month3 X X X X X X X X X X X
Month4 X X X X X X X X X X
etc.
placement month Start: Date(year(d.date)month(d.date),1)
if Datediff("m",{@Placement Month Start},{debt-trans.tx-date})=0 and
{debt-trans.tran-code} startswith ["DR1","DR3","DR4","DR5","DR309"] then {debt-trans.tx-amount}
else
0
the problem is the values that i need run across the columns 0 to 12 but then they duplicate and throw all the totals out of tilt what i need is for arrays to be used for each month dtynamically populated so as to remove duplicates and keep everything under control.
Thanks in advance
CR8 Progress 9.1c.
I have a lil quandry on my hands and i was wondering if anyone could help.
I have a report that has one group for (current date -380 days)displayed as month and year with the summery totals for date diffs running along the top from 1 to 12. The formula of these are as follows where the values go from 0 to 12 for each of the columns 1 to 12 as so below:
Date 0 1 2 3 4 5 6 7 8 9 10 11 12
Month1 X X X X X X X X X X X X X
Month2 X X X X X X X X X X X X
Month3 X X X X X X X X X X X
Month4 X X X X X X X X X X
etc.
placement month Start: Date(year(d.date)month(d.date),1)
if Datediff("m",{@Placement Month Start},{debt-trans.tx-date})=0 and
{debt-trans.tran-code} startswith ["DR1","DR3","DR4","DR5","DR309"] then {debt-trans.tx-amount}
else
0
the problem is the values that i need run across the columns 0 to 12 but then they duplicate and throw all the totals out of tilt what i need is for arrays to be used for each month dtynamically populated so as to remove duplicates and keep everything under control.
Thanks in advance