Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Summing values from Jit pipeline.

edited July 2003 in General
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.

Comments

  • edited July 2003
    Are you using RB 7.02 for this report? What value do you get if you use
    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


This discussion has been closed.