SET EMPTYREPORT = ON/ANSI
will generate one heading for the empty report To generate one page for each primary sort column, you need data rows.
This is what I would do:
Hopefully each of your 8 component reports are based on a HOLD file.
After the HOLD file is created, create another HOLD file which must include one row for each of the primary sort columns - it must have the same number of columns with the same column formats as the original HOLD file. Then create the report as usual, but add the following two lines to just before the END statement:
MORE
FILE second-hold-file-name
to include the rows for each of the (possibly missing) primary sort values.
This is an example of how I can add rows to a report for non-existant primary sort columns:
TABLE FILE CAR
SUM
SALES
LENGTH
HEIGHT
WIDTH
BY COUNTRY
BY CAR
BY MODEL
ON TABLE HOLD AS H001
END
-RUN
TABLE FILE EMPLOYEE
PRINT
DEPARTMENT NOPRINT
COMPUTE COUNTER/I1 = COUNTER + 1; NOPRINT
COMPUTE COUNTRY/A10 =
IF COUNTER EQ 1 THEN 'CANADA'
ELSE IF COUNTER EQ 2 THEN 'RUSSIA'
ELSE IF COUNTER EQ 3 THEN 'ARGENTINA'
;
COMPUTE CAR/A16= '';
COMPUTE MODEL/A24 = '';
COMPUTE SALES/I6 = ;
COMPUTE LENGTH/D5 = ;
COMPUTE HEIGHT/D5 = ;
COMPUTE WIDTH/D5 = ;
WHERE RECORDLIMIT EQ 3;
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD AS H002
END
TABLE FILE H001
SUM
SALES/D10S
LENGTH/D10S
HEIGHT/D10S
WIDTH/D10S
BY COUNTRY
BY CAR
BY MODEL
MORE
FILE H002
END
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server