LIST REPORT

From Recital Documentation Wiki
Revision as of 17:09, 11 November 2009 by Helengeorge (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Display the contents of a report format file


Syntax

LIST REPORT <.frm filename> | (<expC>)

[TO FILE <.txt filename> | (<expC>)] | [TO PRINT]


See Also

CREATE REPORT, REPORT, SET PAGELENGTH, SET PAGEWIDTH, SET PRINTER


Description

The LIST REPORT command provides a listing of the contents of the specified report <.frm filename>. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is specified, then ".frm" is assumed. This command is primarily used in preparing system documentation.


Keyword Description
TO <file> The display output will be sent to the specified file. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is specified, then ".txt" will be used. The command SET PAGELENGTH governs the output file pagination and SET PAGEWIDTH defines the width of each page. Page numbers are centered on the bottom of the page according to width.
TO PRINT The display output will be sent to a printer. The TO PRINT option will default to a local printer unless the command SET PRINTER TO \\SPOOLER is issued. The print request will then be spooled to the system printer, which is defined by the environment variable DB_PRINT.


Example

create report creditlist
set printer to \\spooler
list report creditlist to print
set printer to


Products

Recital Server, Recital