Progress
Report Builder
Deployment Guide
Running Reports from an Application
This section describes how to run reports from 4GL applications. It contains the following examples:
- Running report with a simple filter override (
rbfilt1.p
)- Prompting for user input for the printer information (
rbprint1.p
)- Prompting for user input for the filter information (
rbfilt2.p
)- Generating a list of reports, printing the reports, and updating the RB-STATUS field (
rbplist1.p
)- Generating a list of reports, prompting the user to select which reports to run, and running the reports (
rblist2.p
)All the samples illustrate how to run Report Engine with a multi-user database. The samples use the
rbsample.prl
report library and the Progress Sports database.Follow these steps to run the sample reports:
- Create a database called Runtable containing the Report Engine table. You can use the database definition file (
%DLC%\bin\rbreport.df
) that contains loadable definitions for the RBREPORT table. (Note that you can give the database any name you choose, and it can contain other tables, such as the tables that contain your report data.)- Create an MS-Windows icon with the following command on the command line:
Note that dbname contains the full pathname of the Runtable database.
- Double-click the MS-Windows icon to start the database server. The icon becomes minimized.
- Start Progress and connect to the Runtable database in multi-user mode using the parameters shown in step 2.
- Start the Procedure Editor.
- Run the procedures.
To run the procedures, you must specify the appropriate pathname for the Report Engine database and be connected to the Report Engine database in multi-user mode. In the examples, “Runtable” is the Report Engine database name.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |