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

Easiest way to print a report containing multiple pbSection style subreports without any datapipelin

edited November 2005 in General
Hi,

I need to print a multiple page entry form without any real data, just text.
I tried a main report with multiple pbSection style subreports in its detail
band. Main report/subreports DataPipeLine is set to nil and AutoStop is set
to true. According to the online help 'When AutoStop is set to True, the
report will print a single detail band and then stop.' but it doesn't work
overhere. I only get the report printed with a JTPipeline attached to each
subreport and RangeEnd/RangeEndCount set to reCount/1. Any way to print this
multiple 'pbSection style subreports' report without any DataPipeLines
attached when not needed

Greetings,
Filip Moons

Comments

  • edited November 2005
    Hi Filip,


    We have not seen this behavior before. Which version of ReportBuilder are
    you using? Are you loading templates? If so, you need to be sure the
    AutoStop property is set to True when you save the template. One other
    option would be to simply disconnect the pipelines when you don't need them
    (i.e. Report.DataPipeline := nil;). Note that if there is no datapipeline
    connected and AutoStop is set to False, the report will print infinite
    pages.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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

    I double checked my report and it (AutoStop) works now like it should.
    Before i was using the pagestyle band from my main report (collection of
    subreports) as a common pagestyle band for my subreports but i changed that.
    Maybe this was causing the AutoStop not working like it should. Anyway
    thanks for the help.

    Greetings,
    Filip Moons


This discussion has been closed.