Progress
Report Builder
Deployment Guide


Running Report Engine from an Application

This section describes how to run reports from Progress 4GL applications. It contains the following examples:

All the samples illustrate how to run Report Engine with a local multi-user database. The samples use the rbsample.prl report library and the Progress Sports database. The rbsample.prl report library is located in %DLC%\SRC\aderb.

You can run reports from a 4GL application by running the _printrb.p procedure. This procedure runs the report using the parameters you specify. You specify the desired parameters for each report in the RUN statement when you run Report Engine.

Follow these steps to run a report with Report Engine:

  1. Create the report definition in Report Builder.
  2. Use the following command in the Progress 4GL application:
  3. RUN aderb/_printrb.p (parameters) 
    

    NOTE: Parameters are described in Report Engine Parameters."

Remember that the startup parameters in PROSTARTUP and RBSTARTUP files apply to the PRINTRB and PRNTRB2 interfaces even though there is no explicit command line available.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095