New Blog Post: PDF/A and Metadata

Report Linked to Subreport

edited February 2010 in Subreports
Hello,

is it possible to dynamically bind a standalone report as subreport into another or link it to a subreport? I've designed some very complex reports which have to be used in several report / subreport contexts. Copyiing the report definitions into a subreport in design time is no point because I cannot maintenance the reports afterwards.

Thanks,
Michael

Comments

  • edited February 2010
    Hi Michael,

    The standard (easiest) was of going about this is to save the stand-alone
    report definition as a template file or stream, then load as the template of
    the subreport residing within the main report at runtime. This can be done
    using the Subreport.Report.Template object.

    Template.FileName;
    Template.LoadFromFile;
    Template.LoadFromStream;

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.