Release 10.1A: OpenEdge Reporting:
Report Builder Deployment

> ## 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 OpenEdge Sports database.

> | To run the sample reports:

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

> 2. Create an MS-Windows icon with the following command on the command line:

>     -mproserv -db dbname -S servername -H hostname -N networktype

> Note that `dbname` contains the full pathname of the Runtable database.

> 3. Double-click the MS-Windows icon to start the database server. The icon becomes minimized.

> 4. Start the Procedure Editor and connect to the Runtable database in multi-user mode using the parameters shown in Step 2.

> 5. 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 © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095