skip to main content
OpenEdge Reporting: Report Builder Deployment
Report Engine PRINTRB and PRNTRB2 Interfaces : PRINTRB interface quick start example
 
PRINTRB interface quick start example
To use this interface, you must specify all the parameter values for the report. To show you how to do this, Progress Software provides the rbstart2.p procedure that runs the aderb/_printrb.p procedure file and specifies all the parameter values.
To run the PRINTRB quick start example:
1. Access the Progress Procedure Editor.
2. Run the rbstart2.p procedure.
Here is the code for the rbstart2.p procedure:
 
rbstart2.p
RUN aderb\_printrb (
  "c:\dlc\src\aderb\rbsample.prl",  /* RB-REPORT-LIBRARY */
  "Customer List",                  /* RB-REPORT-NAME */
  "",                               /* RB-DB-CONNECTION */
  "",                               /* RB-INCLUDE-RECORDS */
  "",                               /* RB-FILTER */
  "",                               /* RB-MEMO-FILE */
  "D",                              /* RB-PRINT-DESTINATION */
  "",                               /* RB-PRINTER-NAME */
  "",                               /* RB-PRINTER-PORT */
  "",                               /* RB-OUTPUT-FILE */
  0,                                /* RB-NUMBER-COPIES  - zero */
  0,                                /* RB-BEGIN-PAGE - zero */
  0,                                /* RB-END-PAGE - zero */
  no,                               /* RB-TEST-PATTERN */
  "",                               /* RB-WINDOW-TITLE */
  yes,                              /* RB-DISPLAY-ERRORS */
  yes,                              /* RB-DISPLAY-STATUS */
  no,                               /* RB-NO-WAIT */
  "").                              /* RB-OTHER-PARAMETERS */