Use the LEGENDFONT subcommand with the SELECT command or the SETTING command to specify the typeface (font) of a column legend instead of using the default font type.
Note The SETTING command is valid in the global or local definition blocks of the Report Definition file. If you place the command in the global report block, it affects every report in the Report Definition file. If you place the command in the local report block, it affects only that report. The SELECT command is valid only in the local definition block of a report.
Shows how to code a SETTING command statement to reference a FONT command to print a column legend in a font other than the default font.
Example – SELECT LEGENDFONT subcommand
Suppose this FONT command statement is in the global definition block of a Report Definition file.
{ FONT colegend HELV 10, BOLD }
You may reference this font setting in a SELECT command you place in the local definition block of a given report by using this command statement:
SELECT Name LEGENDFONT colegend
This command statement overrides all other references to font that may apply to this report.
Examples – SETTING LEGENDFONT subcommand
Suppose this FONT command statement is in the global definition block of a Report Definition file.
FIELD Name { FONT largetype HELV 14, }
You may reference this font style in a SETTING command you place in the local definition block of a given report by using this command statement.
SETTING Name { LEGENDFONT largetype }
Note Only the column heading is printed using the specified font. This command statement may be overridden by a SELECT command statement with a font reference in the level specification block.