|Command||pc.xr Processing Code/Restore Processor
Applicable release versions: AP 6.1
|Category||Restore Processor (84)|
|Description||produces a running sub-total of an output column on an Access listing or report.
The attribute definition must have "xr" specified as an output conversion only. In order to get a running total, the attribute containing the "xr" conversion code must be "total"ed. if not, the conversion has no effect.
The sub-total may be restricted to any number of control break levels by specifying the optional break.level parameter.
Assume that the following processing code was present in the output-conversions of the attribute-defining item "myattr": xr1 This will cause any access statements using this attribute in a "total" clause to reset the running total to 0 after the first and higher break levels.