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:

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:

  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:
  3. -mproserv -db dbname -S servername -H hostname -N networktype 
    

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

  4. Double-click the MS-Windows icon to start the database server. The icon becomes minimized.
  5. Start Progress and connect to the Runtable database in multi-user mode using the parameters shown in step 2.
  6. Start the Procedure Editor.
  7. 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