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 a recap defined and placed on a subfooting. I need to apply a conditional format to this number if it is less than 0 I want it to be red and bold. I have placed a conditional format on the column that it is recapping. I've tried to define a conditional format for the recap and the defined field is not listed as a field for recap.
This is how the recap is defined and placed on the report: ON AA_NAME RECAP VAR_TTL/P6C = VAR; ON AA_NAME SUBFOOT " Any ideas?
Thanks.This message has been edited. Last edited by: <Mary3001>,
When posting WebFOCUS or HTML code, please use the </> button to add
[code]
[/code]
tags to your post and put the code between these tags.
The WebFOCUS styling must be done on the SUBFOOT, as in this example using one of the demo files (you should be able to copy this code and run it in your environment):
TABLE FILE CAR
SUM
COMPUTE AA/P7.5 = WIDTH / HEIGHT;
BY COUNTRY
BY SEATS
ON COUNTRY RECAP AAT/P7.5 = WIDTH/HEIGHT;
ON COUNTRY SUBFOOT
"TOTAL AA: <+0> <AAT"
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, FONT='ARIAL', SIZE=8, BORDER=1, BORDER-COLOR=SILVER, $
TYPE=SUBFOOT, BY=COUNTRY, HEADALIGN=BODY, STYLE=BOLD, $
TYPE=SUBFOOT,BY=COUNTRY, ITEM=3, COLOR=GREEN, $
TYPE=SUBFOOT,BY=COUNTRY, ITEM=3, COLOR=RED, WHEN=AAT LT 1.2, $
ENDSTYLE
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
Thanks. I was able to get the conditional formatting to work, except that now any number GE 0 is the correct color, but is locating under a different column.
HEADALIGN=BODY aligns individual elements in a heading, footing, subheading or subfooting with report columns. <+0> is a "spot-marker" that makes elements 'jump' a column...
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