12. Report-Writer Statements : Report Structure Statements : .Detail Statement--Begin Data Formatting Statements : Description
 
Share this page                  
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