Progress
Report Builder
Deployment Guide


PRINTRB Interface Quick Start Example

There are two steps you must perform to use this interface. The first step in using the PRINTRB 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 rbstart2.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 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 */ 


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