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     [CLOSED] Adding a title on specific columns in Excel

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Adding a title on specific columns in Excel
 Login/Join
 
Member
posted
I created an Excel report with 5 columns. The titles of the columns are A, B, C, D and E. I would like to add another title on top of columns C, D and E only.
Second Title
A B C D E

Is this possible?

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 7 | Registered: May 11, 2004Report This Post
Virtuoso
posted Hide Post
I don't think in the sense that you want, here is a kind of / sort of way.

TABLE FILE CAR
PRINT
COUNTRY CAR MODEL BODYTYPE SEATS DEALER_COST RETAIL_COST AS 'SECOND,RETAIL_COST'
SALES AS 'TITLE,SALES'
ON TABLE SET ONLINE-FMT EXL2K
END
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Guru
posted Hide Post
Here is some code that will do what I think you're trying to do:


TABLE FILE CAR
SUM
RETAIL_COST
DEALER_COST
BY
COUNTRY
BY
CAR
HEADING
"TEST1<+0>TEST2"
"EXL2K"
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
TYPE=HEADING,HEADALIGN=BODY,$
TYPE=HEADING,LINE=1,ITEM=1,COLSPAN=2,JUSTIFY=LEFT,$
TYPE=HEADING,LINE=1,ITEM=2,COLSPAN=2,JUSTIFY=LEFT,$
ENDSTYLE
END
You need to use COLSPAN and HEADALIGN to make this work.

This message has been edited. Last edited by: <Maryellen>,
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Platinum Member
posted Hide Post
We should at least give Lia an example which closely approximates what was asked.

This appears to be more along the lines of what you're looking for.

TABLE FILE CAR
SUM RETAIL_COST AS 'C'
DEALER_COST AS 'D'
SALES AS 'E'
BY COUNTRY AS 'A'
BY CAR AS 'B'
HEADING
" <+0>SECOND TITLE"
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
TYPE=HEADING,HEADALIGN=BODY,$
TYPE=HEADING,LINE=1,ITEM=1,COLSPAN=2,JUSTIFY=LEFT,$
TYPE=HEADING,LINE=1,ITEM=2,COLSPAN=3,JUSTIFY=CENTER,$
TYPE=TITLE, JUSTIFY=CENTER,$
ENDSTYLE
END

Ken
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report This Post
Member
posted Hide Post
Thank you all so much.
Placing the title on a specific column worked!
 
Posts: 7 | Registered: May 11, 2004Report This Post
Member
posted Hide Post
Hi All,

I have a similar requirement as above. But in addition to this I have a Bottom Border Styling to the TITLE. If I add any border styling to the TITLE, it inserts an extra row between Heading Row and Title row. I want to supress/eliminate that row.
Find below the code with Title styling.

TABLE FILE CAR
SUM RETAIL_COST AS 'C'
DEALER_COST AS 'D'
SALES AS 'E'
BY COUNTRY AS 'A'
BY CAR AS 'B'
HEADING
" <+0>SECOND TITLE"
ON TABLE NOTOTAL
ON TABLE SET PAGE NOLEAD

ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
TYPE=HEADING,HEADALIGN=BODY,$
TYPE=HEADING,LINE=1,ITEM=1,COLSPAN=2,JUSTIFY=LEFT,$
TYPE=HEADING,LINE=1,ITEM=2,COLSPAN=3,JUSTIFY=CENTER,$
TYPE=TITLE,
FONT='ARIAL',
STYLE=BOLD,
SIZE=10,
BORDER-COLOR=WHITE,
BORDER-TOP=LIGHT,
BORDER-LEFT=LIGHT,
BORDER-RIGHT=LIGHT,
BORDER-BOTTOM=LIGHT,
BORDER-BOTTOM-COLOR=RGB(59 104 159),

$
ENDSTYLE
END

Thanks in advance.


Supriya
WF 7.7.02/8.0
 
Posts: 18 | Registered: November 16, 2011Report This Post
Virtuoso
posted Hide Post
quote:
If I add any border styling to the TITLE, it inserts an extra row between Heading Row and Title row. I want to supress/eliminate that row.


No, can't do. That's an issue that's been hanging for ages and never been fixed. Add borders and you instantly get those silly blank lines below the HEADING and above FOOTING.

IBI introduced a new setting in 7.7.05 I think:

SET DROPBLNKLINE = HEADING


Which actually removes the blank line below the HEADING when using borders. Of course, my excitement came to a quick end when I realized that setting was only applicable to PDF output Frowner EXL2K and HTML are still showing the old behaviour.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report 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     [CLOSED] Adding a title on specific columns in Excel

Copyright © 1996-2020 Information Builders