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

Report generates infinite pages

edited September 2002 in General
Win NT, RB 5.56, Interbase 6.5

I have a two reports that I attached to the same set of pipelines at
run-time. The first report will generate an infinite number of pages.
After cancelling out of the first report in the previwer, the second report
will print fine. There is a master-detail relationship with a few
subreports in the first report and then a simple master-detail in the second
with only one subreport. However, I removed every object in the first
report except for a label and then set the Data to expecting it to
generate a single page, but I still got infinite pages.

Any thoughts?

Thanks,

Comments

  • edited September 2002
    You will want to connect the reports to a data pipeline. You have to set
    Report.Autostop to true if you don't want infiinite pages when no data
    pipeline is assigned. Make sure that the data pipelines are getting hooked
    up at rutime after you load the templates. Write some test code to check the
    assignments on the report and subreport after they are loaded and before you
    print them.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.