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

Can not total a JIT field

edited May 2006 in End User
I dropped a dbText field in the detail band. I selected a JIT field. It is
a currency DataType. It shows up fine in the detail band.

On the summary band I added a DBCalc control, and selected the same JIT
field. Left it to the default of SUM.

But the DBCalc field is always 0.

Any suggestions?

Thanks,
Rob

Comments

  • edited May 2006

    - run RBuilder\Demos\Reports\Demo.dpr and select the 'no database' section.
    There are JITPipeline demos in that section that use calculations

    - The DBCalc has no concept of what type of datapipeline it is connected to,
    it just calls the methods defined by the ancestor, TppDataPipeline.

    - In the JITPipeline OnGetFieldValue event, make that you are returning data
    of the type that is specified for TppField.DataType, probably an integer or
    double.



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.