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.
I have about 30 columns in my report that formats out to Excel. I set all the title heading font colors to light blue with boldface. Similier to the title below.
My problem is that the first half of the titles have these settings activated and the second half do not. There are no font colors or boldfacing applied to the second half of the titles.
You don't specify the column name, but, of course, Dev Studio probably does not generate this, instead it generates a styling declaration for each column.
When you state, "There are no font colors or boldfacing applied to the second half of the titles", do you mean, the second line of a column title, as in "Total,Sales" - the word "Sales" is not styled?
Is this for Excel 2000 format?
This example works on WF 5.3.2:
TABLE FILE CAR
SUM
SALES AS 'Total,Sales'
BY COUNTRY AS 'Country'
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLESHEET *
TYPE=REPORT, GRID=OFF,
FONT='ARIAL', SIZE=8, $
TYPE=TITLE, STYLE=BOLD, BACKCOLOR=RGB(173 216 230), $
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K
END
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
Every column, all 30, has the same font format applied with the same color and boldface attribute. As the tabular report is viewed the title of the first 15 columns are properly formatted but the titles for columns 16-30 have no formatting applied.
So if you can image a blue background to the title row, the blue highlight ends halfway through that row.
I tried this approach but the results were the same. Since the reports is comprised of only 2 tables I will attempt to rebuild it so see if the problem persist.
Guillo, note that excel can only replicate about 40 colors, not the full 16mill available to HTML. If this interests you, there's an article here on the Point under the FocusOnDevelopers section called ' What is Indian Red, anyway?'
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
I finally rebuilt the code in MR making sure that I assigned the font colors to every heading. Upon running the program the formatting displayed correctly.
I'm not sure what caused the original formatting not to take. The suggestions, all good, did not seem to make a difference.