Progress
Report Builder
Deployment Guide


PRNTRB2 Interface Example

There are two steps you must perform to use this interface. The first step in using the PRNTRB2 interface is to start Progress. The second step is to specify all the parameter values for the report. To show you how to perform the second task, Progress Software provides the rbstart3.p procedure that runs the aderb/_printrb.p procedure file and specifies all the parameter values.

Follow these steps to run the PRINTRB quick start example:

  1. Access the Progress Procedure Editor.
  2. Run the rbstart3.p procedure.

Here is the code for the rbstart3.p procedure:

rbstart3.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 */
  "status.out").                    /* RB-STATUS-FILE */ 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095