The Detail fill‑in definition repositions the fields on the output are shown in the following example. This multi‑line sample is actually a single detail from the report.
CHEMICAL MUTUAL 555 MAIN STREET FORT WORTH TX 761026102
To obtain the output in this format, you do not have to modify the program code. A single PRODUCE statement generates one logical line of data. The detail definition simply reformats that data into multiple physical lines. This concept is very useful in generating mailing labels, checks, or invoices. (Appendix B contains a sample program to generate mailing labels.) When formatting the output, it might also be helpful to suppress automatic page breaks. This is done on the Parameter fill‑in by specifying 0 as the Lines‑per‑page value.
Multiple lines produced by one detail line can have headings and aligned columns. Since this chapter focuses on how to position the fields, these examples suppress column headings by specifying N on the Parameter fill‑in field Column Headings Desired. For information on controlling headings, see Headings and Footings later in this chapter.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|