Home General

JIT pipeline changes from v5 to v6

edited September 2001 in General
I experience that in version 6.01, RB sometimes calls DoGetBookMark on the
JIT pipeline, even if it's empty ?

It does'nt happen in version 5.0 which is the release I used until now.

The temporary solution I came up with was not to implement DoGetBookmark,
DoGotoBookmark and DoFreeBookmark on the JIT. I Guess performance is better
when they are implemented though.

A bug ?

thanks in advance...

Henrik P. Hansen
Business Travel Consult
hh@btc.dk

Comments

  • edited September 2001
    All you need to implement is the OnGetFieldValue event on the JITPipeline.
    The older version of RB's JIT pipeline forced you to code 14 event handlers
    to use the JIT pipeline. Now, you can set the RecordCount property and the
    JIT will traverse the records for you without having to code all of these
    event handlers.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited September 2001
    We are dealing with reports where record count is unknown, or at least time
    consuming to determine. So we have implemented DoGetEOF and all the other
    events.

    Is that road not supported anymore ?

    thanks for your time
    Henrik

  • edited September 2001
    The changes are most likely due to fixes we've made to other features, such
    as KeepTogether, and the events are getting triggered more often in the
    newer implementation. You can certainly skip the code that you have in these
    event handlers when you have no records to traverse.

    The old way of implementing the JITpipeline is still supported, we have made
    it easier to use the JITpipeline because you don't have to code all those
    event handlers.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited September 2001
    Thankyou !

    Checking for EOF in the bookmark events should solve the problem.

    Cheers
    Henrik

This discussion has been closed.