Progress
Report Builder
Deployment Guide
Running Multiple Reports and Prompting for User Input
In the following example,
rbprompt.p
, you prompt the user to specify whether to generate each report in therbsample.prl
report library.To run the
rbprompt.p
procedure with therbsample.prl
report library, execute the following command:
Here is the
rbprompt.p
procedure:
The commented numbers correspond to the following step-by-step descriptions:
- Define variables for the report parameters.
- Define the input parameter for the library name.
- Define the user-answer variable to handle the user’s input.
- Run
_getname.p
to generate a list of reports in therbsample.prl
library.- Prompt the user to specify which reports to print, and print the reports.
NOTE: If you are using the PRNTRB2 interface you must modify the procedure to run aderb\_prntrb2 and include the RB-STATUS-FILE parameter.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |