Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Inserting label beneath column title in HTM Table

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Inserting label beneath column title in HTM Table
 Login/Join
 
Gold member
posted
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
 
Posts: 80 | Registered: March 21, 2007Report This Post
Expert
posted Hide Post
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
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Gold member
posted Hide Post
Thanks Ginny. It worked well
 
Posts: 80 | Registered: March 21, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Inserting label beneath column title in HTM Table

Copyright © 1996-2020 Information Builders