Separating Sorted Records With an Underline: UNDER-LINE

Another formatting technique you can use to delineate sections of a report is to insert an underline after each section. You can accomplish this using the UNDER-LINE command. You can use UNDER-LINE only in connection with a sort field. Each underline goes across the entire page.

The format of the UNDER-LINE command is:

ON sort_field UNDER-LINE

To see how an underline separates report sections, issue the following request:

TABLE FILE EMPLOYEE
SUM DED_AMT AS 'DEDUCTIONS'
BY DEPARTMENT BY DED_CODE AS 'DEDUCTION,TYPE'
ON DEPARTMENT UNDER-LINE
END

Run the request. The output is:

WebFOCUS

Feedback