Kbase 17241: Report Builder - Example of BEGINS in RB-FILTER.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
Report Builder - Example of BEGINS in RB-FILTER.
This is an example of a filter override using the BEGINS function.
/*Running Report Engine from an application - TABLE INTERFACE.
You must be connected to the Runtable database in multi-user mode before
running this procedure.
*/
FOR EACH RBREPORT: /* to clear values in the table before assigning
DELETE RBREPORT. new values*/
END.
DO TRANSACTION:
CREATE RBREPORT.
ASSIGN
RBREPORT.RB-REPORT-LIBRARY = "c:\work\81a\reports.prl"
RBREPORT.RB-REPORT-NAME = "Customer Order List"
RBREPORT.RB-INCLUDE-RECORDS = "O"
RBREPORT.RB-FILTER ="Customer.City BEGINS ~"B~""
RRRBREPORT.RB-PRINT-DESTINATION = "D"
RBREPORT.RB-DISPLAY-STATUS = yes
RBREPORT.RB-DISPLAY-ERRORS = yes.
RELEASE RBREPORT.
END.
/* Display report and delete record */
RUN aderb\_prore(false, "-db c:\work\81a\Runtable -N WIPC -rbdel").
Progress Software Technical Support Note # 17241