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

convert Reports into Subreports

edited July 2006 in Subreports
Hello,

I've build up a project with an increasing number of reports. Now I've got
problems with our network-printers: the overhead of the
printing-preparation for one job is now up to 20 sec.
That means to print my 5 reports (1-3 pages for each --> sum <= 10) it
needs 100 sec to prepare and 10 sec to print.
My idea for a solution is to convert all reports to subreports bundled in a
unique report with 10 pages.
Is there an easy way to convert reports into subreports.

--
Best regards
Dietmar Brueckmann

Comments

  • edited July 2006
    Hi Dietmar,

    The easiest way would be to save your reports as template files, then load
    them either at runtime or at design time into subreports placed in your new
    main report.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2006
    Am Tue, 25 Jul 2006 06:35:40 -0600 schrieb Nico Cizik (Digital Metaphors):


    Thanks Nico!

    But I've tried it without success.

    What I've done:

    1. Create a testproject with a TppReport rbr_1 in a TDataModule
    2. save it as ConvertQ_RBU
    3. store rbr_1 as rbr_1.rtm
    4. delete rbr_1
    5. add new TppReport (name = rbrMain)
    6. add a subreport to rbrMain
    7. save the unit as ConvertZ_RBU (for repeating the following steps)
    8. activate the page ppSubReport1
    9. now I did'nt see exactly how to load rbr_1.rtm into
    ppSubReport1/ppChildReport1
    10. I try File/Open rbr_1.rtm
    --> rbrMain now looks like rbr_1
    --> ppSubReport1 disappears.

    What's wrong and what's the solution?

    --
    Dietmar
  • edited July 2006
    Hi Dietmar,

    In order to load a template into a subreport at design time, you need to use
    the Load Subreport option from the file menu instead of the Open option when
    in the subreport design view.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2006
    Am Fri, 28 Jul 2006 08:16:17 -0600 schrieb Nico Cizik (Digital Metaphors):


    sorry for my blindness. But we've about 35°C in Germany. And due to havn't
    such temperature until 1999 our air condition technique is limited to open
    or close our windows.

    --
    Dietmar
This discussion has been closed.