Reporting > Native reporting system > Reporting system command language > INDENT subcommand
  
INDENT subcommand
By default, the fields specified by the SELECT command immediately following a JOIN command, or a series of JOIN commands, are printed indented from the left margin as shown in this figure.
This graphic is described in the surrounding text.
The default value for the indentation at each series of JOIN commands is 1/2 inch. This default value can be changed by using the INDENT subcommand in a SETTING command.
INDENT subcommand structure
SETTING { INDENT numeric-inches }
numeric-inches specifies the indentation from the previous left-hand margin. This is specified in inches, having up to two decimal places. For example, if the indentation is 1 inch, the information printed after the first series of JOIN commands is set 1 inch from the left margin, the information printed after the second series of JOIN commands is set 2 inches from the left margin, and the information printed after the third series of JOIN commands is set 3 inches from the left margin.
The indentation following a JOIN statement is not dependent on the number of JOIN commands between SELECT command statements, only the presence of one or more JOIN statements. The default indentation is 1/2 inch whether there is one JOIN statement or six JOIN statements between the SELECT statements.
The INDENT subcommand can be put in a report only in text mode. For more information, see Edit <report name>: Text Mode dialog. This function is not supported by the Report Editor.
Example: INDENT subcommand
Indent 2 inches after each JOIN:
SETTING { INDENT 2 }
Cancel the automatic indentation after JOIN:
SETTING { INDENT 0 }
You can also specify the vertical space before and after a join group by using an INTERJOINSPACE subcommand and LASTJOINSPACE subcommand.
Parent topic
Reporting system command language