Consultor Eletrônico



Kbase P105086: Report Builder: How to use a variable -rbtag parameter value?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/8/2005
Status: Unverified

GOAL:

Report Builder: How to use a variable -rbtag parameter value?

FIX:

The following syntax is not flexible because it hard wires the -rbtag parameter value:
RUN aderb\_prore.p(false, "-db sample.db -1 -rbtable Rep-Eng -rbdel -rbtag Q1").
It is more flexible to use a CHARACTER variable with the -rbtag parameter value. For example, to use the variable cQuarter instead of the hard wired literal constant Q1 , use the syntax:
RUN aderb\_prore.p(false, "-db sample.db -1 -rbtable Rep-Eng -rbdel -rbtag" + cQuarter).