Kbase P2598: Report Builder Engine override filter example - char stri
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  22/08/2003 |
|
Status: Unverified
GOAL:
Report Builder Engine override filter example - char string
FIX:
This code will call the Report Builder Engine and override the filter
/* This code will call the Report Builder Engine and */
/* override the filter condition. The filter is a */
/* quoted string, "state = ~"MA~"". */
RUN aderb/_printrb.p
("c:\work\reports.prl", /* RB-REPORT-LIBRARY */
"Customer List", /* RB-REPORT-NAME */
"", /* RB-DB-CONNECTION */
"O", /* RB-INCLUDE-RECORDS */
"state = ~"MA~"", /* 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 */