Reporting : Native reporting system : Reporting system command language : SETTING command
  
SETTING command
Changing the look of your report
The SETTING command is used to “set-up” how the information looks on your printed report. To change the way your report looks when it is printed and other features, specify these options:
Header and footer content and placement
(see Setting headers and footers)
Set placement and format of page header and footer lines.
Report layout
(see Setting page size and margins)
Set page size, margins, borders and grids.
Borders (for tabular reports)
(see Setting borders and grids)
Set a border line around the report page.
Grid preferences (for matrix reports)
(see Setting borders and grids)
Set a border around each cell.
Report output devices such as, a printed page, a screen display, or a file
(see Setting report output options)
Set output devices (for example., printed hardcopy, screen display, file).
Use of the extract database
(see Setting extract database)
Save the report extraction file.
Language, list and decimal separators
(see Setting language, list and decimal separators)
Set alternate language, list, and decimal separators.
Inheritance properties of an entity
(see Setting inheritance properties)
Set enable/disable inheritance of properties.
Error marks (Rules Checking report only)
(see Setting error mark for rules checking reports)
Set error marks on for rules checking reports.
SETTING command structure
The structure of the SETTING command is:
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:
C:\Users\wjn\AppData\Local\Temp\506626\html\bitmaps\settcmd.gif
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.
This SETTING subcommand syntax
Affects the printed report in this way
Example 1
  
HEADER 1 <rptnm>
HEADER 2 <#pg#>
HEADER 3 <date>
HEADER 4 <time>
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.
Example 2
  
DECIMALSEPARATOR ‘.’
LISTSEPARATOR ‘,’
MEASUREMENT English
These commands set the valid separators that can be used in the report and the mathematical language used by the reporting system.
Example 3
  
BORDER Yes
BORDERPEN DASHDOT
BORDEROFFSET -.25
These commands turn border on, set the pen style and set the border to print ¼ inch outside the margins.
Parent topic
Reporting system command language