Progress
Report Builder
Deployment Guide
Generating a List of Reports
You can generate a list of reports in a report library using the
aderb/_getname.p
procedure. This procedure also calculates the number of reports in the library.Follow these steps to generate a list of reports in a report library:
- Create the report definitions in Report Builder.
- Use the following command in the Progress 4GL application:
The following list describes the arguments for the
_getname.p
procedure:library-pathname
The full path of the report library you want to read.
report-list
The character variable that will display the report names as a comma separated list.
report-count
The integer variable that will receive the number of reports in the library.
For example, to list all the reports in the
acctslib
library and receive the number of reports in this library, run thereptlist.p
procedure:
The commented numbers correspond to the following step-by-step descriptions:
- Define the variables that will display the report names and the number of reports.
- Format a selection list to display the list of report names.
- Call the
_getname.p
procedure and specify first the report library, second, the variable in which to return the report names, and lastly, the variable in which to return the number of reports in the library.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |