Consultor Eletrônico



Kbase P16587: When creating a record in a Report Builder report table and
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/31/2003
Status: Unverified

GOAL:

When creating a record in a Report Builder report table and running aderb\_prore.p, how can you specify which record to use, whether a recent one
or a new one?

FIX:

This can be done using the RB-TAG as indicated online at Progress Documentation in the Progress Report Builder Deployment Guide.

RB-TAG
Specifies a tag that determines whether to generate a report, based on the value from the Report Tag (-rbtag) parameter, when you use the table interface. When Report Engine generates the reports for which you have specified report parameters in the table, it generates only those whose values in this parameter match the -rbtag parameter value.

If you do not specify a -rbtag value, Report Engine runs all the reports in the Report Engine table, regardless of the value in the RB-TAG field.

For example, if the Report Engine table contains report records for four different quarterly reports, you can assign each set of records for a quarter a different RB-TAG value such as Q1, Q2, Q3, and Q4. Then when you invoke Report Engine, specify the desired tag with the -rbtag parameter. For example, to run the reports for the first quarter, you specify Q1 as the -rbtag value:


RUN aderb\_prore.p(false, "-db sample.db -1 -rbtable Rep-Eng


-rbtag Q1")




Another way to use this parameter is to store the reports for multiple users in the Report Engine table, then specify a specific user's tag to run only his or her reports.

You optionally use RB-TAG when you use the table interface. You cannot use this parameter with the PRINTRB or PRNTRB2 interfaces.