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

considereing RB but...

edited December 2006 in General
It appears that in order to be able to put code in a report (such as an
"OnBeforePrint" in a header or similar) RAP is necessary and so the
professional edition does not cover that. Is this correct? I'd have to
purchase the enterprise edition?

Keith

Comments

  • edited December 2006

    - All RB Editions support coding event-handlers via Delphi code. You can
    code Report.BeforePrint or DetailBand.BeforePrint just as you would with any
    other VCL component. Select the component via the RB Designer and it will
    become selected in the Delphi object inspector. Then use the Delphi object
    inspector to add the event-handler method. RB contains support for events at
    several levels, Report events, Band events, and each component - such as
    Label, DBText, etc.

    - RB Enterprise includes a run-time Pascal environment called RAP. RAP
    enables Developers and and end-users to code without Delphi. RAP code can be
    used to add calculations and event-handlers to reports.

    - Reports coded with RAP are more portable than reports that require Delphi
    code.

    RAP code is stored as part of the report definition. (Delphi code is
    compiled into the .exe). In other words, report definitions loaded from a
    database or report file can contain the RAP code required to run the report.

    - RAP provides more power to end-users.

    You can optionally include RAP in end-user reporting solutions so that
    end-users have the power to add code to reports they create. (End-users do
    not have Delphi)

    - RAP speeds development of reports

    RAP code does not require that you compile your Delphi project to see the
    results. This speeds up the design/preview process. (Typically while
    creating reports you want to make changes and preview the results, then make
    changes, preview again, etc).

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2006
    Thank you for the extemely clear explanation. Very helpful.

    Keith
This discussion has been closed.