Strategy ONE
Creating the column headers in the Detail Header section
The next section on the Layout area is the Detail Header, which prints immediately before each group of Detail sections. In our invoice document, the Detail Header contains the column headers for the itemized lines of the invoice and prints once for each customer. The controls in this section are static text fields and a rectangle, used to make the text fields stand out.
Since you have added static text fields and a rectangle to the document already, the following procedure is a high-level process only.
To add controls
-
Add the following static text fields to the Detail Header section and set the options as indicated:
-
Date: Left = .13, Top = .02
-
Item #: Left = 1.62, Top = .02
-
Item Description: Left = 3.05, Top = .02
-
Amount: Left = 5.69, Top = .02
-
-
Bold all four text fields and set their Backcolor to gray.
-
The default text field width is not long enough to display the item description without wrapping to a second line. To fix this, set the Width for Item Description to 1.25.
-
Add a rectangle to the Detail Header section and set the following options:
-
Backcolor: Gray
-
Height: .25
-
Width mode: 100%
-
Top: 0
-
The text fields disappear behind the rectangle, but we will fix that problem in the next section.
