Previous Topic

Next Topic

Book Contents

Book Index

P1 - Extracting Values from the Current Page

There is another dynamic extraction parameter, with the format
%P1LnCn %.

Unlike %LlnCcn %, which always extracts the value from the current page, this parameter contains the symbol P1, which always extracts the value from the first page.

This parameter is useful when a header field or string only appears on the first page of a report, but you want to see it on every screen on every page.

For example, assume that the DATE field appears only on the first page of a report but you want its value to appear in the overlay line on every page of the report.

The DATE Dynamic Extraction parameter would then be defined as:

%P1L1C10%

In this case, the overlay line in the ruler looks as follows (the change is bolded below for clarity).

Figure 106 Overlay Line in the Ruler

O ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----

O  INVENTORY REPORT - WRHS: %L6C16%  DEPT: %L6C38% DTE: %P1L1C10% UPD: %P1L2C10%

Note: To use this format, you must enter the ruler Report Editing screen from the first report page in the Report Viewing screen. If you do not enter the ruler from the first page of the report (that is, if you scrolled down to a subsequent report page before editing the ruler), the dynamic extraction parameter will be blank.

Parent Topic

Other Dynamic Extraction Parameters