Home Subreports

JITPipelines

edited March 2003 in Subreports
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

Comments

  • edited March 2003
    Yes, the events do fire more than once. This question was asked earlier this
    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


This discussion has been closed.