JITPipelines
I have a master report with one or more subreports. All use a different
JITPipeline. All the JITPipelines seem to fire the OnGetFieldValue event
four times for every field defined in the pipeline. This seems to be
independent from RangeBegin/RangeEnd/RecordCount/RangeEndCount properties.
Why is this?
Thank you,
Tom Knox
JITPipeline. All the JITPipelines seem to fire the OnGetFieldValue event
four times for every field defined in the pipeline. This seems to be
independent from RangeBegin/RangeEnd/RecordCount/RangeEndCount properties.
Why is this?
Thank you,
Tom Knox
This discussion has been closed.
Comments
week, but I can't seem to find the thread. The reason is that everytime
properties of the data controls are referenced for data, it tries to
retrieve the latest data to support all the different feature sof the report
engine and does not try to optimize it to the finest level of detail in
order to make the code cleaner and more usable without having extra
stipulations in the routines to get the latest data as this would require
additional overhead to track more meta data as the engine runs.
The fact that the event fires more than once should not matter. Use the
TppVariable.OnCalc event in order to provide calculations in the report
using the JITPipeline data instead of relying on the JIT events firing only
once or multiple times.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com