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

Loading Report Templates

edited November 2004 in General
Hello,

The requirement for the reports I have designed was that the report
templates would be saved to a templates folder. When a particular report is
executed, it loads the most current template at run time.

I have been asked to design a tool which can open a particular report
template, and allow a minor change to a label for instance. Then resave the
report.

Unfortunately, when the report program is executed there is a problem with
the template. Is it possible that because the template is being loaded to a
form without the same event handlers on the particular report form, and then
resaved, that it is losing the events?

Is there a way to accomplish this?

Thank you,
Michael Malinowski

Comments

  • edited November 2004
    Hi Michael,

    Yes, it is possible to keep all event handler code local to each saved
    template using RAP. 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. RAP is available with the Enterprise
    edition of ReportBuilder.

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