Consultor Eletrônico



Kbase 13735: Report Builder override filter character runtime variable
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Report Builder override filter character runtime variable

The following program will demonstrate how to call the Report
Builder Engine and build a character filter condition.

DEF VAR test AS CHAR FORMAT "x(20)".
DEF VAR mystate AS CHAR.

UPDATE mystate.

test = "state = " + """" + mystate + """".
/* or */
/* test = "state = " + "~"" + mystate + "~"". */

DISPLAY test.


/* overrides filter condition */

RUN aderb/_printrb.p
("c:\rb\reports.prl", /* RB-REPORT-LIBRARY */
"ofilter", /* RB-REPORT-NAME */
"", /* RB-DB-CONNECTION */
"O", /* RB-INCLUDE-RECORDS */
test, /* RB-FILTER */
"", /* RB-MEMO-FILE */
"D", /* RB-PRINT-DESTINATION */
"", /* RB-PRINTER-NAME */
"", /* RB-PRINTER-PORT */
"", /* RB-OUTPUT-FILE */
1, /* RB-NUMBER-COPIES */
1, /* RB-BEGIN-PAGE */
99999, /* RB-END-PAGE */
no, /* RB-TEST-PATTERN */
"", /* RB-WINDOW-TITLE */
yes, /* RB-DISPLAY-ERRORS */
yes, /* RB-DISPLAY-STATUS */
no, /* RB-NO-WAIT */
""). /* RB-OTHER-PARAMETERS */

Progress Software Technical Support Note # 13735