Using QMF

Changing the alignment of page headings and footings

The default alignment for page headings and footings is centered (CENTER), but you can change the alignment on the FORM.PAGE panel.

In this example, you change the alignment of the page footing to the left margin of the report.

To change the alignment of a page heading or footing:

  1. Move the cursor to the ALIGN field for the line you want to change.
  2. Type the new alignment value. For this example, change the alignment for line 1 of the page footing to LEFT, and type ** Company Name ** as the footing text.

    Figure 109. Change the alignment of page headings and footings on FORM.PAGE.

    +--------------------------------------------------------------------------------+
    | Blank Lines Before Footing ===> 2       Blank Lines After Footing ===> 0       |
    | LINE  ALIGN   PAGE FOOTING TEXT                                                |
    | ----  ------  ----+----1----+----2----+----3----+----4----+----5----+          |
    | 1     LEFT    ** Company Name **                                               |
    | 2     CENTER                                                                   |
    | 3     CENTER                                                                   |
    | 4     CENTER                                                                   |
    |               *** END ***                                                      |
    +--------------------------------------------------------------------------------+
  3. Press the Report function key to see the changed report.

    Figure 110. The changed report shows the headings and footings aligned left.

    +--------------------------------------------------------------------------------+
    | Employee Data for the WESTERN Division                                         |
    | Date: 1998-02-17                                                               |
    |                                                                                |
    |                                                                                |
    |       ID  NAME         DEPT  JOB     YEARS      SALARY        COMM  DEPTNUMB  D|
    |   ------  ---------  ------  -----  ------  ----------  ----------  --------  -|
    |      330  BURKE          66  CLERK       1    10988.00       55.50        66  P|
    |      270  LEA            66  MGR         9    18555.50           -        66  P|
    |      320  GONZALES       66  SALES       4    16858.20      844.00        66  P|
    |      310  GRAHAM         66  SALES      13    21000.00      200.30        66  P|
    |      280  WILSON         66  SALES       9    18674.50      811.50        66  P|
    |      350  GAFNEY         84  CLERK       5    13030.50      188.00        84  M|
    |      290  QUILL          84  MGR        10    19818.00           -        84  M|
    |      300  DAVIS          84  SALES       5    15454.50      806.10        84  M|
    |      340  EDWARDS        84  SALES       7    17844.00     1285.00        84  M|
    |                                                                                |
    |                                                                                |
    | ** Company Name **                                                             |
    +--------------------------------------------------------------------------------+


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]