Summing values from Jit pipeline.
Hi to all,
I have a program that prints records in a subreport using the
TppJitPipeline. The records in the subreport print fine.
What I need to do is sum a field in the subreport and print it in the group
footer of the subreport.
I am using a TppDBCalc field and have set the DBCalcType to dcSum. The
datapipeline
and the DataField are set also.
However, if I set DBCalcType to dcCount, I get a value but for dcSum, the
value is 0.
How do I get the correct total?
Sham.
I have a program that prints records in a subreport using the
TppJitPipeline. The records in the subreport print fine.
What I need to do is sum a field in the subreport and print it in the group
footer of the subreport.
I am using a TppDBCalc field and have set the DBCalcType to dcSum. The
datapipeline
and the DataField are set also.
However, if I set DBCalcType to dcCount, I get a value but for dcSum, the
value is 0.
How do I get the correct total?
Sham.
This discussion has been closed.
Comments
TppVariable to calculate the runnign sum for each group? The variable allows
you to set the timing so that it will reset when a group starts. What may be
happening is that the dbCalc is resetting when the group ends, which is when
the group footer prints. If you use a variable it should work.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com