Report Item Format Options

Report Item Format Options

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

Report Item Format Options

Any meaningful combination of the following options can be applied to any value displayed in a report:

CENTERThe Report Generator is to center the associated item on the current line.
Centering is relative to the PAGEWIDTH specified in the REPORT FROM command. The default value for PAGEWIDTH is 80.
COLUMN nThe Report Generator is to start display of the associated item at character column n.
COLUMN cannot be used in conjunction with SPACES.
COLUMN 1 is automatic for the first item in each heading or detail line command.
HEADING ‘text’The Report Generator is to use text as the heading for the associated item. (Normally, the heading depends on the source of the item: field names for fields from EntitySets and so on; object names, for variables and constants; spaces, in all other cases.)
To turn headings off, specify COLUMN HEADING OFF in the DETAIL LINE command.
LINE nBefore displaying the associated item, the Report Generator is to skip to line n on the current page. The value of n must be greater than the current line number.
LINE cannot be used in conjunction with NEWLINE or OLDLINE.
MASK ‘mask’The Report Generator is to apply the specified mask pattern to the value of the associated item. Masking rules vary for alphanumeric, numeric, and date values.
NEWLINE [n]Before displaying the associated item, the Report Generator is to skip n lines. The default value for n is 1.
NEWLINE cannot be used in conjunction with LINE or OLDLINE.
NEWLINE 1 is automatic for the first item in each heading or detail line command. (Use OLDLINE when overstriking is required.)
NEWPAGE [n]Before displaying the associated item, the Report Generator is to skip to the nth page following the current page. The default value for n is 1.
NOPRINTThe Report Generator is to omit the display of the associated report item. (This option is useful for using a special expression format to initialize a variable, but not print the variable’s value, for example.)
OLDLINEBefore displaying the associated item, the Report Generator is to return to the start of the current line (“overstrike”).
OLDLINE cannot be used in conjunction with NEWLINE or LINE.
SPACES nBefore displaying the associated item, the Report Generator is to move n character columns to the right. Zero (0) is a valid value for n.
SPACES cannot be used in conjunction with COLUMN.
SPANThe Report Generator is to display the associated item over one or more lines in a column WIDTH characters wide. When one line is full, display continues on the next line regardless of where the split occurs.
SUPPRESSThe Report Generator is to omit display of the associated item if its value has not changed since it was last displayed.
UNDERLINEThe Report Generator is to underline the associated item.
WIDTH nThe Report Generator is to use n as the output width for the associated item. (Normally, the output width is identical to the defined width of the item or the width of the mask or heading for the item, whichever is greatest.
If n is less than the defined width of the item, the value is truncated unless WRAP or SPAN is also specified.
WRAPThe Report Generator is to display the associated item over one or more lines in a column WIDTH characters wide. An attempt is made to split the item at logical break points (e.g., a blank, a hyphen, an oblique (slash), a comma).
Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish