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

Using .rtm

edited October 2003 in General
Hi

Here is one of the Strategies to minimize the size of the .Exe written by
digital-metaphors guys.


Can any one please explain me how to use this .rtm feature to minimize the
exe size.
Note: I need to have events for TppReport component.

Thank You
Arun

Comments

  • edited October 2003
    Hi Arun,

    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.


    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2003
    Hi Nico

    Thanks for detail info. I will work on it.

    Regards
    Arun

This discussion has been closed.