Is it possible to use OVER and still have the heading aligned over the entire report (data)?
TABLE FILE CAR
HEADING
"TEST"
PRINT
COUNTRY CAR
OVER MODEL RETAIL_COST
IF RECORDLIMIT EQ 4
END
This message has been edited. Last edited by: FP Mod Chuck,
8.2.03 AIX Client Windows Tomcat DB2, Terradata, SQL, Oracle
May 06, 2017, 10:52 PM
Don Garland
If I'm understanding this correctly, you want the Heading to SPAN across all of the columns. To do this, just add the ON TABLE.... and TYPE=HEADING.... statements below.
TABLE FILE CAR
HEADING
"TEST"
PRINT
COUNTRY CAR
OVER MODEL RETAIL_COST
WHERE RECORDLIMIT EQ 4
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=HEADING,HEADALIGN=BODY,$
TYPE=HEADING,LINE=1,OBJECT=TEXT,ITEM=1,COLSPAN=4,POSITION=COUNTRY,$
END
This message has been edited. Last edited by: Don Garland,