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

Dynamically Loading Subreports for Detail Bands

edited October 2006 in General
Hi,

based on the example Dynamically Loaded Subreport for Header, I want to know
how can I store the .rtm files for different detail bands templates in a
single .RC file and then compile the .RC into my final application. Then
load the .rtm files from the res file "$report_templates.res".

I do not want to leave the .rtm files in my app folder.

Thanks in Advance!

MCMF!

Comments

  • edited October 2006
    Hi MCMF,

    ReportBuilder does not have any built-in features to save and load .rtm
    files from .res files. It is my understanding that a .rc file is just a
    text file containing information of some sort. It is definitely possible to
    save a template with this file extension in ascii format. As for loading a
    template from the .res file. Once you have access to the .rc information,
    you would need to load it into a stream and then call
    template.LoadFromStream to load the report.

    --
    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.