setup for the CustomerID header section is complete. Next, we will consider the CustomerID footer
section. We will take advantage of the shortcut we used earlier in "cloning"
a large part of the text we need, as we did earlier, to save time and effort.
In the CustomerID header
section, select the CustomerID label control (now captioned "Customer:"),
and, pressing the SHIFT key, select the other two controls (all three
controls in the header should be selected).
Press the CTRL-C key
Click inside the CustomerID
Press the CTRL-V key
This pastes the controls,
together with the adjustments and formatting that we have already performed in
the CustomerID header, into the footer. We will next arrange it as needed
in the footer section, as well as to handle any required modifications.
Using the methods we have outlined
earlier, move the compound controls so that they align with the controls from
which they were cloned in the CustomerID header. (This
can most easily be accomplished by selecting all simultaneously, then dragging
and dropping so that the left border of the CustomerID label control
approximately aligns with the 1/8 - inch mark on the horizontal border.)
We have an alteration
here, similar to the one we made in the OrderDate footer earlier: We
again want to modify the text in the footer to indicate it is a "totals"
Right-click the CustomerID
label control in the CustomerID footer.
Select Properties from
the context menu that appears.
Select the Format tab of
the Properties sheet.
Modify the Caption field
at the top of the Format tab to read as follows:
Properties sheet - Format tab for the CustomerID label
control appears as depicted in Illustration 29.
Illustration 29: Properties sheet
- Format tab for the CustomerID Label Control
Close the Properties
Move the pointer to the bottom
of the CustomerID footer section, placing it between the CustomerID
footer section and the Page footer section.
Hold down the left button on
the mouse, as soon as the "double-arrow" image appears.
Drag the Page footer
section border up, until a tight fit is achieved for the controls we have
Release the button to fix the
border in place.
header and footer sections now appear in the report as shown in Illustration
Illustration 30: CustomerID
Header and Footer Sections (Partial View) with Our Adjustments
perform another preview of our evolving report.
Click the Print
following into the AsOfDate box that appears:
to apply the date.
report executes, returning data that appears similar to that partially shown in
The Report Preview - Partial Sections
Click the Close
button to close the Preview window.
Save your work
as desired, as a safety measure.
basic ingredients of the report are now in place. We next need to add totals
to the footers to round out the basic functionality of the report.