I'd prefer not to do this with all the data in a subhead or subfoot (which I know I can do). I'm looking to try to get real columns out of this if possible.This message has been edited. Last edited by: ChannyS,
The easiest way would be to read the data twice, creating HOLD files with renamed columns, something like this:
SET ASNAMES=ON
TABLE FILE CAR
PRINT
LENGTH AS 'DIM'
COMPUTE DIMX/A10 = 'LENGTH';
BY MODEL
ON TABLE HOLD AS H001
END
TABLE FILE CAR
PRINT
WIDTH AS 'DIM'
COMPUTE DIMX/A10 = 'WIDTH';
BY MODEL
ON TABLE HOLD AS H002
END
TABLE FILE H001
PRINT
DIM
DIMX
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