Reporting > Native reporting system > Reporting system command language > SETTING command
  
SETTING command
Changing the look of a report
The SETTING command specifies how the information looks in your report. See:
Setting headers and footers
Setting page size and margins
Setting borders and grids
Setting borders and grids
Setting report output options
Setting extract database
Setting language, list and decimal separators
Setting inheritance properties
Setting error mark for rules checking reports
SETTING command structure
SETTING { SUBCOMMAND subcommand-qualifier }
The SETTING command uses subcommands to specify what is being set and to qualify the setting. For example, to set a top margin of one inch for your report, the command statement looks like this:
This graphic is described in the surrounding text.
Rules for using the SETTING command
To create a correct SETTING command statement (including subcommands and subcommand qualifiers), follow these rules:
1 Use curly braces to enclose the list of subcommands and their respective subcommand-identifiers.
2 Use white space to separate the SETTING command from its subcommand from its subcommand-identifier.
3 Use quotes to enclose the subcommand-identifier if it contains embedded white spaces.
4 Use the SETTING command in the global definition block to apply the instructions to all reports in the Report Definition file.
5 Use the SETTING command in the local definition block to apply the instructions to only that report.
Examples: SETTING command
These are some of the most commonly used SETTING subcommands and a description of what the subcommand will do to the report format.
Example 1
These commands print four header lines consisting of from line one to four: the report name, the page number, the date the report is run, and the time it is run.
HEADER 1 <rptnm>
HEADER 2 <#pg#>
HEADER 3 <date>
HEADER 4 <time>
Example 2
These commands set the valid separators that can be used in the report and the mathematical language used by the reporting system.
DECIMALSEPARATOR ‘.’
LISTSEPARATOR ‘,’
MEASUREMENT English
Example 3
These commands turn border on, set the pen style and set the border to print ¼ inch outside the margins.
BORDER Yes
BORDERPEN DASHDOT
BORDEROFFSET -.25
Parent topic
Reporting system command language