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

Subreport prints blank page

edited April 2005 in Subreports
I have mainDBPipeline on Main report.
Since all data cannot fit on first page, it has to
be printed on next page (in Subreport).

Data from mainDBPipeline prints on first page which is not SubReport.
But Subreport prints blank page.

I have some graphic on SubReport.

How to setup SubReport so it prints same record as
in previous page?

Thanks,
Ashok

Comments

  • edited April 2005

    Sorry, but I do not understand the configuration of the report or the data
    or what you trying to accomplish.

    In general a report/child will traverse the datapipeline to which it is
    assigned and will generate a single detail band for each record in the
    pipeline.

    You use DetailBand.BandsPerRecord to specify that a detail band generate X
    times for each record.




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


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited April 2005
    I have too many fields in one table. So it does not fit in one page.
    With this one record, I want some fields to print on Odd page #.
    I want remaining fields to print in SubReport.

    Or if there is another way to accomplish same thing without SubReport?

    Thanks,
    Ashok

  • edited April 2005
    I have too many fields in one table. So it does not fit in one page.
    With this one record, I want some fields to print on first page .
    I want remaining fields to print in SubReport (second page).

    BTW I cannot use ODD, EVEN page # technique because there will be more pages
    added
    and there could be few more subreports after first problem is resolved.

    Or if there is another way to accomplish same thing without SubReport?

    Thanks,
    Ashok
  • edited April 2005
    I tried setting SubReport.PrintBehavior to all three possible values
    pbChild, pbSection, pbFixed
    But none of them fixes blank page problem. No data is printed from
    SubReport.

    Ashok
  • edited April 2005
    SubReport is correctly linke to same DBPipeline as FIRST page (main Report).
  • edited April 2005

    Here is an example of printing a spread sheet style report that you can
    download...

    http://www.digital-metaphors.com/tips/SpreadSheetStyleReport.zip


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



    Best regards,

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

    Sorry, my mistake...

    http://www.digital-metaphors.com/tips/SpreadSheetStyle.zip

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



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.