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

Print a New Report as a subreport

edited February 2005 in Subreports
Hi,
This maybe a silly question but is there any way you can print a new report
as a subreport without a new print preview form appearing? I have a report
that I've already created but now they want to see it within another report.
Thanks for any and all help.
Denise

Comments

  • edited February 2005

    There are two ways to do this:

    1. Templates

    You can save the report definition to an .rtm file and then load it into a
    subreport. You can do this using the Report Designer also programmatically.


    2. Reference

    You can have the subreport reference your existing TppReport object. Here is
    an example that demonstrates this technique.

    www.digital-metaphors.com/tips/SubReference.zip



    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

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