Can not total a JIT field
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
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
This discussion has been closed.
Comments
- 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