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

Very Simple question regarding Sub Reports

edited April 2005 in Subreports
I have 2 Sub Reports in Parent Report. (Multi-Page Forms)
1st Sub Report uses DBPipelineMain.
2nd Sub Report uses DBPipeline2.

When I print the report, the Report never stop (going to 250 pages, and
more, I have to hit CANCEL).

How do I fix this?

Thanks,
Ashok

Comments

  • edited April 2005


    ------------------------------------------------------
    Article: TroubleShooting: Report Prints Endless Pages
    ------------------------------------------------------

    1. Check each report/childreport and make sure that the Report.DataPipeline
    property is assigned OR AutoStop is set to True.

    2. Try setting all Detailband.PrintHeight to phDynamic. It may be that you
    have a fixed height detail band that is too large to print on a page.

    3. As a test, try commenting out all event-handler code associated with the
    report. Make sure that you are not manipulating the dataset in any manner,
    while the report is generating. This can cause the report engine to get
    lost.

    4. Save the report under a new name and try incrementally simplifying it
    until the issue goes away. Then incrementally add complexity until you
    isolate the cause of the error.

    If you still have an issue after performing the above steps, please create a
    simple, minimal Delphi project and e-mail to support@digital-metaphors.com
    in zip format.


    --
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com





    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited April 2005
    Nard Moseley,

    That problem is solved by fixing Page Height.

    Ashok
This discussion has been closed.