Progress
Report Builder
User’s Guide


Viewing Report Library Contents

Use the following sample procedure called rblib.p to view the contents of a report library without running Report Builder:

rblib.p
DEFINE VARIABLE rl AS CHARACTER.
DEFINE VARIABLE rc AS INTEGER.
DEFINE VARIABLE rp AS CHARACTER VIEW-AS SELECTION-LIST INNER-LINES 10
      INNER-CHARS 32.

FORM "Number of Reports" rc SKIP rp WITH FRAME x NO-LABELS.

RUN aderb/_getname.p ("c:\rb\reports.prl", OUTPUT rl, OUTPUT rc).

rp = ?.
rp:LIST-ITEMS = rl.
DISPLAY rc WITH FRAME x.
UPDATE rp WITH FRAME x. 


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