Endless loop of pages using inheritance of components
Community,
My company has recently upgraded from version 7.06 to 10.09 of Report
Builder for use in Delphi 2006. I am having problems with our existing
reports in the new version. I use a base form that holds the pipeline
(TppJITPipeline) and the report (TppReport) because all of the reports use
them. In this case I have a report that uses a pipeline that is created on
the derived form and sets it on the inherited report. When the report runs
it goes through an endless loop of calculating pages. I have setup a test
that has a new report component on a base form and a new pipeline on a
derived form and I still get this behavior. Any assistance is appreciated.
-Steve
My company has recently upgraded from version 7.06 to 10.09 of Report
Builder for use in Delphi 2006. I am having problems with our existing
reports in the new version. I use a base form that holds the pipeline
(TppJITPipeline) and the report (TppReport) because all of the reports use
them. In this case I have a report that uses a pipeline that is created on
the derived form and sets it on the inherited report. When the report runs
it goes through an endless loop of calculating pages. I have setup a test
that has a new report component on a base form and a new pipeline on a
derived form and I still get this behavior. Any assistance is appreciated.
-Steve
This discussion has been closed.
Comments
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thanks for your assistance. Apparently some things have changed since
version 7. In my report I have 4 pipelines that create 4 reports and add
them as pages.
The previous behavior was that they would all go onto separate pages. The
current behavior is lumping all 4 report outputs onto one page. Are you
aware of any additional changes I can make to the report or the pipelines to
address this?
Thanks again,
-Steve
Nothing has changed in that regard. I think you forgot to set
Subreport.PrintBehavior to pbSection.
A subreport can have different PrintBehaviors: pbChild, pbSection, pbFixed.
The default value is pbChild.
pbChild - subreport prints on the parent reports page space - like a memo
pbSection - subreport prints its own pages
pbFixed - subreport prints within the defined bounds
This is all covered in RB Developers Guide (for RB 7 and RB 10).
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com