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] Excel Styling issues.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Excel Styling issues.
 Login/Join
 
Gold member
posted
I have a report requirement to display heading in different cells in EXCEL. Searched forum, IBI Tech forums for sample programs.. But couldn't find any prg.
Below sample example puts the entire heading in single line.
TABLE FILE CAR
HEADING
"DISPLAY 1ST CELL <+0> 2ND CELL"
" "
BY COUNTRY 
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
TYPE=HEADING, LINE=1, ITEM=1, OBJECT=TEXT, COLSPAN=1,$
TYPE=HEADING, LINE=1, ITEM=2, OBJECT=TEXT, COLSPAN=1,$
ENDSTYLE
END

Any help suggestion would be appreciated.

Thanks

This message has been edited. Last edited by: <Kathryn Henning>,


Prod: WF 7.6.10 windows. -- MRE/Dashboard/Self Service/ReportCaster - Windows XP
 
Posts: 82 | Location: Chicago | Registered: September 28, 2005Report This Post
Virtuoso
posted Hide Post
Try this:
  
DEFINE FILE CAR
SP/A1=' ';
END
TABLE FILE CAR

BY COUNTRY AS 'DISPLAY 1ST CELL,COUNTRY'
BY SP AS '2ND CELL, '
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
ENDSTYLE
END


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
Just use HEADALIGN within the stylesheet -

TABLE FILE CAR
HEADING
"DISPLAY 1ST CELL <+0> 2ND CELL"
" "
BY COUNTRY 
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
TYPE=HEADING, HEADALIGN=BODY, $
ENDSTYLE
END

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Platinum Member
posted Hide Post
Add this to your style section:

TYPE = HEADING, HEADALIGN=BODY,$


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
 
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003Report This Post
Gold member
posted Hide Post
Thank you guys.. This resolved my issue.


Prod: WF 7.6.10 windows. -- MRE/Dashboard/Self Service/ReportCaster - Windows XP
 
Posts: 82 | Location: Chicago | Registered: September 28, 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     [SOLVED] Excel Styling issues.

Copyright © 1996-2020 Information Builders