Originally posted by Dan Satchell:
Here is a technique that removes the unwanted blank line. Depending on the complexity of your report, it may or not provide a workable solution.
TABLE FILE CAR
SUM SEATS/I5S AS ''
BY BODYTYPE
ACROSS COUNTRY
ON TABLE SET ASNAMES ON
ON TABLE HOLD AS HOLD1
END
-*
TABLE FILE HOLD1
PRINT *
END
And here is another option. It replaces all column titles with a SUBHEAD for a dummy field. (This could also be done with HEADING and without the dummy field, but that approach might interfere with other report headings.) The drawback to this approach is that it requires that your output always have the same number of columns in the same order.
DEFINE FILE CAR
DUMMY/A1 = ' ';
END
-*
TABLE FILE CAR
SUM SEATS AS ''
BY DUMMY NOPRINT
BY BODYTYPE AS ''
ACROSS COUNTRY NOPRINT
ON DUMMY SUBHEAD
"BODYTYPE<+0>ENGLAND<+0>FRANCE<+0>ITALY<+0>JAPAN<+0>W GERMANY"
ON TABLE SET NODATA ' '
ON TABLE SET STYLE *
TYPE=SUBHEAD, HEADALIGN=BODY, $
ENDSTYLE
END