Crystal V 8
Progress 9.1c
I have a report that is set up as so:
GP1: Date
GF:
months 1 - 12 across the report with sums of CPM01 to CPM012 formulae
the dates are based on the formula:
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
where the date diff goes from 0 to 12 for each month. the problem is that there has to be running totals for each month for the dates, but there are duplicates across the the months which are suppressed by the formulae, which run from 01 to 012:
{@%CPM02}={@%CPM01}
where %CPOM2 is :
if Sum ({@CPM01}, {debt.dt-datinstr}, "monthly"
=0 or {#£Placements}=0 then 0 else
Sum ({@CPM01}, {debt.dt-datinstr}, "monthly"
%{@NetNewBusiness}
etc across the months so that the report displays as a diagonal of sums per month ie the duplicates for a date are suppressed. The problem is not including the suppressed sums in the running totals i have tried a few things but i can't get it to work properly, i cant find a way to suppress the suppressed sums in the running total any ideas??
Thanks in advance
Progress 9.1c
I have a report that is set up as so:
GP1: Date
GF:
months 1 - 12 across the report with sums of CPM01 to CPM012 formulae
the dates are based on the formula:
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
where the date diff goes from 0 to 12 for each month. the problem is that there has to be running totals for each month for the dates, but there are duplicates across the the months which are suppressed by the formulae, which run from 01 to 012:
{@%CPM02}={@%CPM01}
where %CPOM2 is :
if Sum ({@CPM01}, {debt.dt-datinstr}, "monthly"
Sum ({@CPM01}, {debt.dt-datinstr}, "monthly"
etc across the months so that the report displays as a diagonal of sums per month ie the duplicates for a date are suppressed. The problem is not including the suppressed sums in the running totals i have tried a few things but i can't get it to work properly, i cant find a way to suppress the suppressed sums in the running total any ideas??
Thanks in advance