Home General

Two or more reports - single preview

edited February 2011 in General
Is it possible to show two or more report in the same preview?

Thanks
Petter

Comments

  • edited February 2011
    Hi Petter,

    It is possible to combine multiple reports into a single report using one of
    the following methods.

    1. Place multiple section subreports into a blank report (detail band only)
    and load the reports into the subreports. See the main reports demo.

    2. Export each report as an archive and use the free Archive Merger utility
    to combine them into one and view using the ArchiveViewer. The archive
    merger can be downloaded from our web site.
    http://www.digital-metaphors.com/download/report_component_library.html

    3. Export each report as a PDF file using the file utilities to merge them
    into a single file.
    http://www.digital-metaphors.com/rbWiki/Output/PDF/How_To...Merge_Multiple_Reports_into_one_PDF


    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2011
    Hi Nico.

    Could you provide some more detail about the "load reports into the
    subreports" or where in the main reports demo more info can be found?

    Thanks
    Petter

    "Nico Cizik (Digital Metaphors)" skrev i nyhetsmeldingen: 4d481435$1@mail.
    ...

    Hi Petter,

    It is possible to combine multiple reports into a single report using one of
    the following methods.

    1. Place multiple section subreports into a blank report (detail band only)
    and load the reports into the subreports. See the main reports demo.

    2. Export each report as an archive and use the free Archive Merger utility
    to combine them into one and view using the ArchiveViewer. The archive
    merger can be downloaded from our web site.
    http://www.digital-metaphors.com/download/report_component_library.html

    3. Export each report as a PDF file using the file utilities to merge them
    into a single file.
    http://www.digital-metaphors.com/rbWiki/Output/PDF/How_To...Merge_Multiple_Reports_into_one_PDF


    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

  • edited February 2011
    Hi Petter,

    Demos 51 and 52 of the main reports demo show how to design a report with
    multiple section subreports. You can easily load existing reports into
    subreports by saving them to template files and then loading them from
    within the subreport. This can be done manually in the designer or in code
    using the Report.Template.LoadFromFile routine.



    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2011
    Hi Nico.

    I have done as you suggested - loaded two reports into two subreports in a
    new report.
    However I have a situation that I don't quite understand - The Header panel
    of the subreports are not visible when shown in this new "hybrid" report.
    But if the reports are loaded separately the headers are shown as expected.
    Do you have any idea what this could be?

    RB 12.03 Build 348
    Regards
    Petter

    "Nico Cizik (Digital Metaphors)" skrev i nyhetsmeldingen: 4d483142$1@mail.
    ...

    Hi Petter,

    Demos 51 and 52 of the main reports demo show how to design a report with
    multiple section subreports. You can easily load existing reports into
    subreports by saving them to template files and then loading them from
    within the subreport. This can be done manually in the designer or in code
    using the Report.Template.LoadFromFile routine.



    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

  • edited March 2011
    Hi Petter,

    Be sure you are using Section style subreports. The Header and Footer bands
    are not supported for Child subreports.



    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    "Petter Topp" wrote in message news:4d6e48fd@mail....

    Hi Nico.

    I have done as you suggested - loaded two reports into two subreports in a
    new report.
    However I have a situation that I don't quite understand - The Header panel
    of the subreports are not visible when shown in this new "hybrid" report.
    But if the reports are loaded separately the headers are shown as expected.
    Do you have any idea what this could be?

    RB 12.03 Build 348
    Regards
    Petter

    "Nico Cizik (Digital Metaphors)" skrev i nyhetsmeldingen: 4d483142$1@mail.
    ...

    Hi Petter,

    Demos 51 and 52 of the main reports demo show how to design a report with
    multiple section subreports. You can easily load existing reports into
    subreports by saving them to template files and then loading them from
    within the subreport. This can be done manually in the designer or in code
    using the Report.Template.LoadFromFile routine.



    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2011
    Thanks Nico, this solved the problem with the header, but now I get a Blank
    page at the start of the report and a blank at the en of the report...
    I have placed the subreport in the Detail banner of the Main report.
    All the other banners are minimized.

    What am I missing?

    Petter

    "Nico Cizik (Digital Metaphors)" skrev i nyhetsmeldingen: 4d6e4eee$1@mail.
    ...

    Hi Petter,

    Be sure you are using Section style subreports. The Header and Footer bands
    are not supported for Child subreports.



    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    "Petter Topp" wrote in message news:4d6e48fd@mail....

    Hi Nico.

    I have done as you suggested - loaded two reports into two subreports in a
    new report.
    However I have a situation that I don't quite understand - The Header panel
    of the subreports are not visible when shown in this new "hybrid" report.
    But if the reports are loaded separately the headers are shown as expected.
    Do you have any idea what this could be?

    RB 12.03 Build 348
    Regards
    Petter

    "Nico Cizik (Digital Metaphors)" skrev i nyhetsmeldingen: 4d483142$1@mail.
    ...

    Hi Petter,

    Demos 51 and 52 of the main reports demo show how to design a report with
    multiple section subreports. You can easily load existing reports into
    subreports by saving them to template files and then loading them from
    within the subreport. This can be done manually in the designer or in code
    using the Report.Template.LoadFromFile routine.



    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

  • edited March 2011
    Hi Petter,

    The section subreports are meant to be inside an empty report (detail
    band only). Try completely removing all other bands from the main
    report to remove any extra pages from the output.


    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2011
    Success!
    Thanks for saving me hours of experimenting.

    Petter

    "Nico Cizik (Digital Metaphors)" skrev i nyhetsmeldingen: 4d6e5759$1@mail.
    ...

    Hi Petter,

    The section subreports are meant to be inside an empty report (detail
    band only). Try completely removing all other bands from the main
    report to remove any extra pages from the output.


    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

This discussion has been closed.