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     Styling Excel reports

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Styling Excel reports
 Login/Join
 
Expert
posted
Can someone tell me how to add a border to a cell in an Excel report?


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
Member
posted Hide Post
I know you are using WebFOCUS 5.3, but in 7.1 the Template feature allows you to write out to a template file. The template file can have formats prestored so your data can have a lot of additional formatting features.

You also could try the following in your version to see if it would work

TABLE FILE EMPLOYEE
SUM CURR_SAL
BY LAST_NAME
FOOTING
"TOTAL<TOT.CURR_SAL "
ON TABLE SET PAGE-NUM OFF
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=FOOTING,BORDER-TOP=MEDIUM,BORDER-BOTTOM=LIGHT,
BORDER-LEFT=OFF,BORDER-RIGHT=OFF,BORDER-TOP-STYLE=DOUBLE,$
TYPE=FOOTING,LINE=1,OBJECT=TEXT,ITEM=1,$
TYPE=FOOTING,LINE=1,OBJECT=TEXT,ITEM=2,$
TYPE=FOOTING,LINE=1,OBJECT=FIELD,ITEM=1,$
ENDSTYLE
END

Also, Some of the Formatting features that are in HTML may be available in Excel soon, when release 7.6.1 is out

This message has been edited. Last edited by: David Hall,
 
Posts: 6 | Location: Monticello, Florida | Registered: November 03, 2005Report This Post
Expert
posted Hide Post
David,

Edit your post (the icon on your post between the QUOTE and REPORT icons on the bottom line) and surround your code with [ code] and [ /code] (without the space) so that your code will display.

Please don't repeat your post (!) as a lot of folks do, just edit the existing one.

Thanks

T

This message has been edited. Last edited by: Tony A,



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
Expert
posted Hide Post
Tom, thank you for your response. I was aware of the method described in the IBI example. Unfortunately this does not work for Compound Excel reports.

The unfortunate thing about IBI solutions is that, quite often, they will only work in a very narrow set of conditions - add one more and the solution stops working.

The other complaint I have is why, if Excel 2000 format is really an HTML file, can't we use CSS styling?

But Tom, I do appreciate your assistance.

Cheers,


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
Expert
posted Hide Post
fyi, formatting survives (can be set to survive) when Exporting to Excel from html in a windows environment. (see FOD article on same), and that preservation can be bi-directional...either receive the html formatting, or set the formatting in the recipient excel sheet and it will(mostly) survive the refreshes. No use to you, i know, unless you can escape servlet.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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     Styling Excel reports

Copyright © 1996-2020 Information Builders