Dynamically Loading Subreports for Detail Bands
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!
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!
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com