The following example shows the use of both the AT BOTTOM and AT TOP statements: DTR> SHOW SALARY_REPORT PROCEDURE SALARY_REPORT REPORT PERSONNEL WITH DEPT = "D98","E46","T32" SORTED BY DEPT SET REPORT_NAME = "SALARY REPORT" SET COLUMNS_PAGE = 60 AT TOP OF DEPT PRINT DEPT PRINT ID, FIRST_NAME|||LAST_NAME ("NAME"), SALARY AT BOTTOM OF DEPT PRINT SKIP, COL 36, DEPT|||"TOTAL:", TOTAL SALARY USING $$$$,$$$, SKIP, COL 13, "***********************************", SKIP, COL 32, "OVERALL TOTAL:", COL 50, RUNNING TOTAL (TOTAL SALARY) USING $$$$,$$$, SKIP END_REPORT END_PROCEDURE See the DEC DATATRIEVE User's Guide for more examples of the AT TOP statement.