The idea behind an .rtm file is to save a template of your report as a separate file and then load it dynamically into an empty report component saving space in the process. If you are using event handlers with report, you will need to be sure the name of the events match up to the names you gave them when you created the report. See the ReportBuilder Developer's Guide for an example of this.
As another alternative, and to keep your report completely portable, you can use RAP to store the event handlers directly inside the template file. Report Application Pascal (RAP) is ReportBuidler's run-time Pascal development environment. RAP enables the entire report definition (Data, Calculations, and Layout) to be stored outside of the application executable. Using RAP, developers and end-users can code calculations and event-handlers without Delphi. RAP is extensible - which means developers can easily register their own built-in functions and objects to meet specific requirements. (Source code to RAP compiler is not included.)
RAP is only available with the Enterprise edition of ReportBuilder. Try downloading the trial version of RB 7.03 Enterprise for examples of what RAP can do.
Comments
The idea behind an .rtm file is to save a template of your report as a
separate file and then load it dynamically into an empty report component
saving space in the process. If you are using event handlers with report,
you will need to be sure the name of the events match up to the names you
gave them when you created the report. See the ReportBuilder Developer's
Guide for an example of this.
As another alternative, and to keep your report completely portable, you can
use RAP to store the event handlers directly inside the template file.
Report Application Pascal (RAP) is ReportBuidler's run-time Pascal
development environment. RAP enables the entire report definition (Data,
Calculations, and Layout) to be stored outside of the application
executable. Using RAP, developers and end-users can code calculations and
event-handlers without Delphi. RAP is extensible - which means developers
can easily register their own built-in functions and objects to meet
specific requirements. (Source code to RAP compiler is not included.)
RAP is only available with the Enterprise edition of ReportBuilder. Try
downloading the trial version of RB 7.03 Enterprise for examples of what RAP
can do.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for detail info. I will work on it.
Regards
Arun