[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|             ON PAGE             |
+---------------------------------+
ON PAGE
        [AT LINE <expN> <command>]

-----------------------------------
Executes routine at specified line number in reports.
-----------------------------------

ON PAGE executes a command, program or procedure when a specified line
number is reached in a report or when EJECT PAGE is issued.  ON PAGE
allows you to define a routine to handle page breaks and headers and
footers.

AT LINE <expN> <command>
        The system variable _PLINENO keeps track of the current line number in
a report.  When _PLINENO becomes greater than the line number specified
in the ON PAGE command by AT LINE <expN>, <command> is executed.  <expN>
can be any legitimate line number, while <command> can be a command, a
program or a procedure.  The ON PAGE routine can also be triggered by
executing an EJECT PAGE command.  See EJECT PAGE for more information.

        Executing ON PAGE without including AT LINE <expN> clears the previous
ON PAGE routine.

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

See Also:  EJECT PAGE, ON(), SET PRINTER

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

See Also: EJECT PAGE ON() SET PRINTER
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson