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

When - if at all - do JITPipelines get closed?

edited August 2003 in General
Hi there,

I have the feeling that pipelines aren't automatically closed.

I have this report with 5 detail rows, when I preview it and
close it, the JIT pipeline doesn't get closed. Now, if I run
the same report again, but with a different (larger) number
of detail rows, it only displays 5. Any idea?

--

With regards,

Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com

Comments

  • edited August 2003
    Hi Martijn,

    Every DataPipeline (including the JITPipeline) is closed when the Report
    Engine is freed. You will need to update the TppJITPipeline.RecordCount to
    display the correct number of records when using a larger number of detail
    rows.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2003
    Hi Nico,


    And when is that? I'm using template files - Template.Load etc, then .Print.
    Or does this only happen when the TppReport component gets free-ed?


    The RecordCount is set after opening the jit pipeline - but because it doesn't
    get closed, it doesn't get updated.


    --

    With regards,

    Martijn Tonies
    Database Workbench - the developer tool for InterBase & Firebird
    Upscene Productions
    http://www.upscene.com
  • edited September 2003
    Hi Nico,

    I've found the CloseDataPipelines method at the TppReport component - that
    fixes my issues.

    This method isn't documented in the Help file - that's why I didn't find it
    before.

    --

    With regards,

    Martijn Tonies
    Database Workbench - the developer tool for InterBase & Firebird
    Upscene Productions
    http://www.upscene.com
This discussion has been closed.