Previous Topic

Next Topic

Book Contents

Book Index

Scrolling by Print-Page

Most reports are designed to be printed. They usually contain about 60 to 80 lines per page as opposed to 20 to 24 lines in a screen display (depending on the screen model).

The NEXTPAGE and PREVPAGE commands scroll by print-page (printed report page), unlike the UP and DOWN scroll commands that scroll according to the number of lines in a screen. If you are in the middle of a page and enter the NEXTPAGE command, the display scrolls to the top of the next print-page.

NEXTPAGE and PREVPAGE may be abbreviated to N and P, respectively.

The command format for each command is, respectively

NEXTPAGE n

PREVPAGE n

where n is the number of print-pages to scroll up or down

When you use these commands without specifying the number of print-pages, a default value of 1 is assumed.

Now use the NEXTPAGE or PREVPAGE command to scroll through the report. You should currently be at the top of the report.

  1. Type N in the COMMAND field and press Enter.

    The top line of the Report Viewing screen (below) indicates that you are on PAGE 2 OF 3 (print-pages). The record at the top belongs to N. McMann (employee number 66157).

    Figure 12 Effect of NEXTPAGE Command (1)

    ------------- CONTROL-D/V REPORT VIEWING   NOTES    0   PAGE      2 OF        3

    COMMAND ===>                                                   SCROLL ===> CRSR

    USR DEMO     REP EMPLOYEES-MARKETING  JB JDEMO    04544 DT 050500 RUL

    ----+----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

    --------  --------------  ------  ------  ------------  ----------  ---------

      66157    N. MCMANN         12    32,000   XXX-YY-ZZZZ      2

      66158    J. LARUE          08    26,000   XXX-YY-ZZZZ      2

      66159    R. ARNOLD         18    33,000   XXX-YY-ZZZZ      2

      66160    G. BENSON         18    34,000   XXX-YY-ZZZZ      2

      66161    S. CLARKE         26    39,000   XXX-YY-ZZZZ      2

      66162    G. CARLIN         26    39,000   XXX-YY-ZZZZ      2

      66203    A. CHESTEN        23    39,000   XXX-YY-ZZZZ      2

      66204    N. GURMAN         05    52,000   XXX-YY-ZZZZ      5

      66208    G. NASH           23    39,000   XXX-YY-ZZZZ      2

      66209    S. BAUER          06    36,500   XXX-YY-ZZZZ      2

      66211    P. LIPTON         03    34,000   XXX-YY-ZZZZ      2

      66213    P. WOLFE          15    35,500   XXX-YY-ZZZZ      6

      66219    Q. STONE          07    27,000   XXX-YY-ZZZZ      1

      66221    B. MARCUS         09    33,000   XXX-YY-ZZZZ      3

      66224    P. SMITH          22    39,000   XXX-YY-ZZZZ      2

    CMDS: FIND str (PREV), EDIT, RULER on/off/name, VALUE, N n  P n         10.51.55

  2. Again type N in the COMMAND field and press Enter.

    The top line of the Report Viewing screen (below) indicates that you are now on PAGE 3 OF 3. The record at the top belongs to E. Kirsch (employee number 66428).

    Figure 13 Effect of NEXTPAGE Command (2)

    ------------- CONTROL-D/V REPORT VIEWING   NOTES    0   PAGE      3 OF        3

    COMMAND ===>                                                   SCROLL ===> CRSR

    USR DEMO     REP EMPLOYEES-MARKETING  JB JDEMO    04544 DT 050500 RUL

    ----+----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

    --------  --------------  ------  ------  ------------  ----------  ---------

      66428    E. KIRSCH         05    36,000   XXX-YY-ZZZZ      2

      66442    S. ROBSON         08    26,500   XXX-YY-ZZZZ      2

      66444    L. FRANKLIN       08    26,500   XXX-YY-ZZZZ      2

      66445    R. MCCARTHY       08    26,500   XXX-YY-ZZZZ      2

      66446    T. STALLONE       11    29,000   XXX-YY-ZZZZ      3

      66449    C. MORALES        12    29,000   XXX-YY-ZZZZ      2

      66450    B. RUTH           12    29,000   XXX-YY-ZZZZ      2

    ======= >>>>>>>>>>>>>> NO MORE DATA TO VIEW <<<<<<<<<<<<<<<<<<<<<<<<<<<<< =====

      

      

      

      

      

      

      

    CMDS: FIND str (PREV), EDIT, RULER on/off/name, VALUE, N n  P n         10.51.55

  3. Type P 2 in the COMMAND field and press Enter.

    The top of the report is displayed again.

Parent Topic

Scrolling Up and Down