Progress
Report Builder
Deployment Guide
Generating a List of Reports, Printing the Reports, and Updating the RB-STATUS Field
The
rbplist1.p
sample procedure runs all the reports in therbsample.prl
report library and updates the RB-STATUS field. This procedure assumes that all of the reports in the list generated by_getname.p
use the Sports database. Report Engine connects to the Sports database only once on startup, and the same connection is used for each report since the ’=>’ syntax is used in the RB-DB-CONNECTION field of the RBREPORT table.To run the
rbplist1.p
procedure with therbsample.prl
report library, execute the following command:
Here is the
rbplist1.p
procedure:
The commented numbers correspond to the following step-by-step descriptions:
- Define the variables used in the procedure.
- Define the input parameter to the procedure.
- Run
_getname.p
to generate a list of reports in the specified library.- Add the reports to the Runtable database.
- Run each report record in the RBREPORT table using the connection to the database on the command line. Then, update the RB-STATUS field.
- For each record, view RB-STATUS field as an Alert Box, then delete the record.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |