Focal Point
Inserting label beneath column title in HTM Table

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8871027082

April 16, 2008, 04:25 PM
Prasanna
Inserting label beneath column title in HTM Table
All,
I'm facing an issue with inserting a text label beneath the column title. Is their any provision to acheive this?
I have tried some thing like :

TABLE FILE CAR
SUM
DEALER_COST
RETAIL_COST
BY BODYTYPE
BY CAR

ON TABLE SUBHEAD
"Car Details"
ON TABLE SET PAGE-NUM OFF
ON TABLE COLUMN-TOTAL AS 'TOTAL'
ON TABLE PCHOLD FORMAT HTML

Subhead/heading didnot satisfy the requirement.I need the output to be as follows
--------------------------------------------------------
BODYTYPE CAR DEALER_COST RETAIL_COST
---------------------------------------------------------
Car Details

CONVERTIBLE JAGUAR 7,427 8,878
COUPE ALFA ROMEO 5,660 6,820
MASERATI 25,000 31,500
HARDTOP TRIUMPH 4,292 5,100
ROADSTER ALFA ROMEO 5,660 6,820


Thanks
Prasanna
WebFocus Developer Studio 717
April 16, 2008, 04:40 PM
GinnyJakes
DEFINE FILE CAR
SORTFIELD/A1=' ';
END
TABLE FILE CAR
SUM
DEALER_COST
RETAIL_COST
BY SORTFIELD NOPRINT
BY BODYTYPE
BY CAR
ON SORTFIELD SUBHEAD
"Car Details"
ON TABLE SET PAGE-NUM OFF
ON TABLE COLUMN-TOTAL AS 'TOTAL'
ON TABLE PCHOLD FORMAT HTML
END



Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
April 16, 2008, 04:42 PM
Leah
You will have to create custom headings for the report and on each individual line surpress the column headings.

SUM
DEAL_COST AS ''
RETAIL_COST AS ''
...
HEADING
"---------------------------------------"
"BODYTPE CAR DEALER COST RETAIL COST"
"---------------------------------------"
...

Use spot markers as needed to allign the heading to the data.


Leah
April 16, 2008, 06:30 PM
Darin Lee
Ginny's suggestion will give you what you need. It creates a sort field subhead which, by default, is placed in the position you are wanting.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
April 17, 2008, 12:28 PM
Prasanna
Thanks Ginny. It worked well