Progress
Results User’s Guide
for UNIX


Adding a Header or Footer to a Report

To add a header or footer to a report, there must be an active report in the layout windows.

  1. Select the Settings option. A list of setting options appears.
  2. There are four types of headers and four types of footers you can add to your report. For more information about each of them, see "Option Descriptions."

  3. Select the option for the type of header or footer you want to add.
  4. The windows for defining each type of header or footer are similar:

    The top window contains the header (or footer) layout area. You can define up to three lines for a header or footer; each line can be up to 50 characters long. The text you enter will display in your report exactly as you type it in the layout area.

    The bottom window lists the functions that you can include in your header. When you include a function, the values it represents replaces the function name when you run the report. For example, you can add a function to count the records listed in the report, or to show today’s date, or to display your user name. You can substitute angle brackets ( < > ) for the curly braces ( { } ) around the functions.

    Your database administrator can edit the results.l file to change the default symbols for the VALUE option so that, when you press GET to select a field from the list, the default symbols automatically appear. For more information about the functions, see descriptions in "Option Descriptions."

  5. Type any text and add any functions you want to appear in the header or footer.
  6. For example, you can type Page: {PAGE} to insert the page number function in the header.

  7. Press GO to insert the new header or footer in the Report Layout window, or press END to cancel your changes.
  8. The header (or footer) appears in the Report Layout window.

    NOTE: First-page-only headers and last-page-only footers do not appear in the Report Layout window. However, they appear when you run the report.

    When you define three types of headers (or footers) for a report, they print differently depending on the available header space. If there is enough room to fit all three values across, they print three across. Otherwise, the center header prints first, then the left and right headers appear on the next two lines.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095