Template Refresh
I am new to RB but if I am not mistaken, the .rtm template does not get
compiled into the .exe does it? I ask this because I can keep the designer
up compile->run and view the report. close the report, switch back to the
designer, make a change and immediately re-launch it from Delphi app. The
report is the same and the changes are not reflected until I recompile and
re-launch the report. I would think that the report file in *not* compiled
in because your .exe would bloat up as well as how would the reports the end
user creates get executed.
Thanks,
--
Reid Roman
Future Generation Software
http://www.fgsoft.com
compiled into the .exe does it? I ask this because I can keep the designer
up compile->run and view the report. close the report, switch back to the
designer, make a change and immediately re-launch it from Delphi app. The
report is the same and the changes are not reflected until I recompile and
re-launch the report. I would think that the report file in *not* compiled
in because your .exe would bloat up as well as how would the reports the end
user creates get executed.
Thanks,
--
Reid Roman
Future Generation Software
http://www.fgsoft.com
This discussion has been closed.
Comments
The Report Templates are not comiled in the .exe. There are either file
based or data based. Keep in mind there is a report component on the form
and that report and its embedded template gets comiled into the .exe. Once
the application is running you can only save to templates because the report
on the form is already compiled in the .exe and cannot be changed until you
decide to recompile.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I initially designed it so that the one report component jockeys every
report by programmatically changing the template name as dataset as needed.
I guess then that would be a good strategy.
If you clear out the "Template->Filename" property before you compile will
the report file be entirely external and not compiled in?(which is my
objective) ?
--
Reid Roman
Future Generation Software
http://www.fgsoft.com
Yes, however, if you still have components in a report during Delphi
design-time, they will get compiled with your .exe unless you delete them or
load a new report into the designer. Be sure to delete your components
inside the report on the form before you compile. Keep in mind that there
is going to be a report and an embedded template object that is used to load
the report template definition (.rtm) from file or database.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
then inside the designer choose "New" to clear out the existing report
template and then complile. Right?
--
Reid Roman
Future Generation Software
http://www.fgsoft.com
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
That is what I needed!
Thanks,
--
Reid Roman
Future Generation Software
http://www.fgsoft.com