Progress
Report Builder
Deployment Guide
Prompting for User Input for the Printer Information
The
rbprint1.p
sample procedure runs the Accts Receivable report in therbsample.prl
report library and prompts the user for the printer destination and printer name using the Report Engine built-in prompting mechanism:
The commented numbers correspond to the following step-by-step descriptions:
- Create the RBREPORT record.
- Assign values to the record, but specify questions marks (?) for the printer destination and printer name fields. The question marks instruct Report Engine to prompt the user for input for those fields.
- Explicitly release the RBREPORT record so that Report Engine can use it.
- Call
_prore
to invoke Report Engine and run the report with the user prompts. As shown in the previous sample procedure, you use the Report Delete (-rbdel) parameter to delete the record from the Report Engine table when the procedure is done.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |