Sum with condition in Footer Band
Posted: Tue Nov 14, 2006 10:41 pm
Hi Savin,
We are using StimulReport.
Now , we are developing one report with conditions based total.
Short Term=if( Age>=12)
e.Value=" "+(dtReport2.PLOT_UNITS * (dtReport2.DET_TRADES_PURCH_REDEEM_PRICE -decimal.Parse(dtReport2.cindexed_cost)));
else
e.Value="0";
Long Term=if( Age>=12)
e.Value="0";
else
e.Value=" "+(dtReport2.PLOT_UNITS * (dtReport2.DET_TRADES_PURCH_REDEEM_PRICE -decimal.Parse(dtReport2.cindexed_cost)));
Page 1
Short Term Long Term
Databand1
1234
221
12
-----------
Footer 14 6 7
Page 2
Short Term Long Term
Databand1
1234
221
12
-----------
Footer 14 6 7
Page 3
Short Term Long Term
Databand1
1234 9
221 11
12
----------- -------------
Footer 14 6 7 20
How to do? How is solve this Problem?
I am try colSum() also.
Please Provide quick solution or use other way.
Thanks of Advance.
Regards,
KMarimuthu.
Acsys.
We are using StimulReport.
Now , we are developing one report with conditions based total.
Short Term=if( Age>=12)
e.Value=" "+(dtReport2.PLOT_UNITS * (dtReport2.DET_TRADES_PURCH_REDEEM_PRICE -decimal.Parse(dtReport2.cindexed_cost)));
else
e.Value="0";
Long Term=if( Age>=12)
e.Value="0";
else
e.Value=" "+(dtReport2.PLOT_UNITS * (dtReport2.DET_TRADES_PURCH_REDEEM_PRICE -decimal.Parse(dtReport2.cindexed_cost)));
Page 1
Short Term Long Term
Databand1
1234
221
12
-----------
Footer 14 6 7
Page 2
Short Term Long Term
Databand1
1234
221
12
-----------
Footer 14 6 7
Page 3
Short Term Long Term
Databand1
1234 9
221 11
12
----------- -------------
Footer 14 6 7 20
How to do? How is solve this Problem?
I am try colSum() also.
Please Provide quick solution or use other way.
Thanks of Advance.
Regards,
KMarimuthu.
Acsys.