.Detail Statement--Begin Data Formatting Statements
The .detail statement specifies the start of action to be taken when each data row is processed.
This statement has the following format:
.detail | .det
Description
The .detail statement signifies the start of a group of report formatting statements that Report-Writer executes each time it processes a data row for the report. Report-Writer executes these formatting statements after any break headers that can be caused by the data row, but before any break footers.
Report-Writer also uses the formatting statements specified in the .detail block as the basis for determining the default margins of the report and the default positions of columns. For more information, see Automatic Determination of Default Settings.
.detail
.print acctnum(b16), tdate(b16),
.tab +8
.print transnum ('nnnn'), deposit, withdrawal
.tab +5
.print cum(acctnum), sum(amt.balance)
.newline
Last modified date: 08/14/2024