Progress
Results User’s Guide
for Windows


Adding Cover and Final Pages, Headers, and Footers

You can include the following elements in a report:

Follow these steps to add a cover page, final page, headers, and footers to your document:

  1. Choose Options Header and Footers. The Headers and Footers dialog box appears:
  2. Choose one of the buttons described here to create a header, footer, or page:
  3. Create a cover page.

    Create a special header for the first page.

    Create a left-aligned header for all pages.

    Create a centered header for all pages.

    Create a right-aligned header for all pages.

    Create a left-aligned footer for all pages.

    Create a centered footer for all pages.

    Create a right-aligned footer for all pages.

    Create a special footer for the final page.

    Create a special final page.

  4. Enter the information that you want to print within the header or footer. To enter the information, do one or both of the following:
    • Type text in the Layout box at the top of the window.
    • For example, you might want to type Customer Orders in a header for a report that lists each customer’s orders. Note that you can enter information that spans several lines by inserting a carriage return at the end of each line.

    • Double-click a function in the Function list.
    • Functions insert a variable value into the element you create when you print the report. For example, you can use a function to print the current date in every header in your report.Table 4–2 lists the available functions.

      Table 4–2: Report Variable Functions 
      Function
      Description
      TODAY
      Inserts today’s date.
      TIME
      Inserts the time the report started printing.
      NOW
      Inserts the current time.
      COUNT
      Inserts the number of records from the beginning of the report to the point at which the function is encountered.
      PAGE
      Inserts the current page number.
      USER
      Inserts the user’s username.
      VALUE
      Inserts the current value of any field you select. You cannot use this function for cover, first only, last only, and final pages.

      The following figure shows an example of a header that centers the words “Customer Orders” and the current date on each page of the report.

  5. Repeat Steps 2 and 3 to create additional headers, footers, and pages.
  6. Choose OK when you are done creating elements, choose OK.

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