Specifications

www.evisions.com Argos - Argos Report Writers Guide Page 105 of 118
Document Version 1.0 Last Updated 10.18.2010
Add the Sections for the C Record Type (Header and Footer Sections)
The C record type contains the number of payees (B records) as well as the sum of all
payments made by the payer. Therefore, Header and Footer sections will be created
which will count the number of B records and will sum the payment amounts in the B
records.
Note: although the B_Count variable also contains the number of B records and could be
used here, the value will be computed again to demonstrate how Header and Footer
Sections are used to count and sum data contained in details records.
Add a Header Section
Add a Header Section, name it “B Header”, set Detail Section to “B Record”, and uncheck
the “Print this section” box.
Figure 178Adding a Header Section
No fields will be placed in the Header Section, which is why the section is not to be
printed. Note the image of a printer with the red x, which indicates that the section is not
to be printed. Header and Footer Sections are used to group information in the Detail
Section surrounded by the Header and Footer Sections in the same fashion as is used for
the Banded Report Header and Footer Bands. You can group the data in the Detail Section
by selecting one of the available functions that are displayed when clicking the ellipsis in
the Group by field. The Expression Builder will be launched where you can create the
expression used as the criteria for grouping.
This example does not require the B Records to be grouped since the order of data in this
case is immaterial.
Add a Footer Section
A Footer Section will be added to count the number of detail (B) records and to sum the
payment amounts in the B Records. COUNT and SUM expressions will be added to the
Footer. The footer section becomes the C Record Type and will be printed.
Add the Footer Section and select “Header” as the Header Section that this Footer is
associated with as shown in the figure below. Name the Section “C Record”.
The printer with a red x indicates that the
section is not to be printed