pc.xr

Processing Code/Restore Processor, Releases: AP 6.1

Produce running sub-total

Syntax

xr{break.level}

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.

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.

See Also

Command Name Type Description
pc Introductory
list.processor Definition Access output-processing facility.
input-conversion Attribute Defining Item References attribute 14 of a dictionary.
output-conversion Attribute Defining Item References attribute 14 of a dictionary.
access.total Modifier Summates columnar total.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.