| xo | Index Level | xs |
| Syntax | xr{break.level} |
| Category | Processing Codes |
| Type | Processing Code |
| 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. |
| Options | |
| See Also | Processing Codes list processor input-conversion output-conversion total |
| Example |
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. |
| Warnings |
This processing code is only effective from Access.
For compatibility reasons, a subvalue mark is allowed before the break.level parameter. |
| Compatibility | AP 6.1 |
| xo | Index Level | xs |