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:
- Running report with a simple filter override (
rbfilt3.p
)- Prompting for user input for the printer information (
rbprint2.p
)- Prompting for user input for the filter information (
rbfilt4.p
)- Running multiple reports in a batch (
rbbatch.p
)- Running multiple reports and prompting for user input (
rbprompt.p)
- Overriding database connection information (
rbdbconn.p
)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. Therbsample.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:
- Create the report definition in Report Builder.
- Use the following command in the Progress 4GL application:
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 |