In this exercise, you will select the Header option H and apply it to the report title and column header lines.
Figure 24	Defining Non-Scrollable Headers in the Edit Report 
Lines And Columns Screen
 -----------------  CONTROL-D - EDIT REPORT LINES AND COLUMNS  ----------(U.E.1)
 COMMAND ===>                                         SP CHAR    SCROLL===> CRSR
 USR DEMO     REP EMPLOYEES-MARKETING  JB JDEMO    RULER DEFAULT   TYPE VIEW
 O ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+--
 H 1            E M P L O Y E E S     R E P O R T    -----    FOR MARKETING   DE
 H  EMPLOYEE     EMPLOYEE     OFFICE  ANNUAL  SOCIAL        NO. OF      JOB CLAS
 H     NO.         NAME         NO.    SAL    SECURITY NO.  DEPENDENTS    CODE
 H  --------  --------------  ------  ------  ------------  ----------  --------
     66002    A. HABER          07    31,000   XXX-YY-ZZZZ      2
These four lines are now defined as Header lines and will not scroll out of sight when the report is viewed.
The Report Viewing screen is displayed.
The ruler name DEFAULT appears in the RUL field.
The defined Header lines appear in a different color than the rest 
of the report lines (on monochrome monitors they are bolded), indicating that they are no longer considered data lines.
Figure 25	Edit Report Lines And Columns Screen With 
Defined Non-Scrollable Headers (1)
------------- CONTROL-D/V REPORT VIEWING   NOTES    0   PAGE      1 OF        3
 COMMAND ===>                                                   SCROLL ===> CRSR
 USR DEMO     REP EMPLOYEES-MARKETING  JB JDEMO    04544 DT 050500 RUL DEFAULT
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
1            E M P L O Y E E S     R E P O R T    -----    FOR MARKETING   DEPAR
 EMPLOYEE     EMPLOYEE     OFFICE  ANNUAL  SOCIAL        NO. OF      JOB CLASS
    NO.         NAME         NO.    SAL    SECURITY NO.  DEPENDENTS    CODE
 --------  --------------  ------  ------  ------------  ----------  ---------
  66002    A. HABER          07    31,000   XXX-YY-ZZZZ      2
The report Header lines remain at the top of the page when the display scrolls. It is now clear that the figure 10 in S. Hawthorne's record refers to Office Number.
Figure 26	Edit Report Lines And Columns Screen With 
Defined Non-Scrollable Headers (2)
------------- CONTROL-D/V REPORT VIEWING   NOTES    0   PAGE      1 OF        3
 COMMAND ===>                                                   SCROLL ===> CRSR
 USR DEMO     REP EMPLOYEES-MARKETING  JB JDEMO    04544 DT 050500 RUL DEFAULT
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
1            E M P L O Y E E S     R E P O R T    -----    FOR MARKETING   DEPAR
 EMPLOYEE     EMPLOYEE     OFFICE  ANNUAL  SOCIAL        NO. OF      JOB CLASS
    NO.         NAME         NO.    SAL    SECURITY NO.  DEPENDENTS    CODE
 --------  --------------  ------  ------  ------------  ----------  ---------
  66115    N. TRACEY         08    23,000   XXX-YY-ZZZZ      1
  66116    D. KRAY           09    35,000   XXX-YY-ZZZZ      3
  66117    S. HAWTHORNE      10    37,500   XXX-YY-ZZZZ      1
  66118    T. WOODLAND       21    36,000   XXX-YY-ZZZZ      2
  66119    J. SCHOLTEN       07    28,000   XXX-YY-ZZZZ      2
  66120    D. GRADWELL       06    29,000   XXX-YY-ZZZZ      3
  66121    J. GOLDEN         05    32,000   XXX-YY-ZZZZ      4
  66122    H. UHRBACH        03    29,000   XXX-YY-ZZZZ      5
  66123    C. GANES          07    28,000   XXX-YY-ZZZZ      2
  66124    B. WAGNER         02    32,000   XXX-YY-ZZZZ      3
  66125    J. O'LEARY        18    33,000   XXX-YY-ZZZZ      1
  66126    D. HENRICH        02    70,000   XXX-YY-ZZZZ      5
  66127    S. LUGAR          28    42,000   XXX-YY-ZZZZ      4
  66128    A. BALTER         03    29,000   XXX-YY-ZZZZ      2
  66129    E. BIRCH          10    27,000   XXX-YY-ZZZZ      2
 CMDS: FIND str (PREV), EDIT, RULER on/off/name, VALUE, N n P n        11.41.08
Just as you defined headers in the Edit Report Lines and Columns screen, you can use option F (Footer) to define footers at the bottom of each page. These footers will also not scroll away.
Parent Topic |