Report generates infinite pages
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,
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,
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com