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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] commas in column headings - PDF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] commas in column headings - PDF
 Login/Join
 
Silver Member
posted
I have a 4 reports (one for each type of output - HTML, PDF, Active Report, Excel) that are requiring a column heading that consists of words separated by commas as well as shown on two different lines. The column heading would look something like:

Apple, Banana, Kiwi, Orange
Sample Fruits

I am able to accomplish this for HTML and Active Report output types. I cannot find a technique to work for PDF or Excel outputs. I have tried using a define name and by creating a parameter but these are not working. Any ideas would be greatly appreciated.

This message has been edited. Last edited by: Kerry,


WebFOCUS developer studio version 7.6.11
Windows
all formats
 
Posts: 36 | Registered: February 12, 2009Report This Post
Expert
posted Hide Post
The only way I can think of making this work is to use a Heading line as your Column-titles:

TABLE FILE CAR
SUM
SALES/D6 AS ''
BY COUNTRY AS ''
HEADING
"WEBFOCUS REPORT"
" "
"COUNTRY <+0>APPLES,ORANGES"
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
SQUEEZE=ON, FONT='ARIAL', SIZE=8, $

TYPE=HEADING, STYLE=BOLD, $

-*-- FOR PDF ---
TYPE=HEADING, LINE=3, ITEM=1, POSITION=COUNTRY, $
TYPE=HEADING, LINE=3, ITEM=2, POSITION=SALES, $

-*-- FOR HTML AND EXCEL ---
TYPE=HEADING, HEADALIGN=BODY, $

ENDSTYLE
ON TABLE PCHOLD FORMAT PDF
END


Seems a bit over the top, just to get a comma in a column title.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
Thanks Francis,
I see your suggestion as my only option on this.
Thank you.


WebFOCUS developer studio version 7.6.11
Windows
all formats
 
Posts: 36 | Registered: February 12, 2009Report This Post
Virtuoso
posted Hide Post
Mark,
How did you do this for HTML?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Expert
posted Hide Post
For HTML only, you could use the HTML code for comma: &#44; (or &|#44; inside a fex).


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
Francis is correct, I created &XTITLE concatonating my words with the ASCII number for commas and spaces. This works for both HTML as well as Active Report output types.


WebFOCUS developer studio version 7.6.11
Windows
all formats
 
Posts: 36 | Registered: February 12, 2009Report 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     [SOLVED] commas in column headings - PDF

Copyright © 1996-2020 Information Builders