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.
Can anyone point out what I am doing wrong here? Well don't point out everything , but I cannot seem to figure out why my formatting is not taking place.
When I tested this, it worked fine, but I only had 1 record that had PRC_EFF_DAT GT than CURRDATE. New records have been added and my conditional formatting went away.
Thanks for the help
DEFINE FILE FAM_CAT_PRC
CURRDATE/YYMD=&YYMD;
END
SET BYDISPLAY=ON
TABLE FILE FAM_CAT_PRC
SUM
STD_PRC
PRC_EFF_DAT NOPRINT
CURRDATE NOPRINT
ACROSS SITE_NUM AS ''
BY FAMILY_CAT_ID NOPRINT
BY MAJOR_CATEGORY_DES
BY FAMILY_CATEGRY_DES
BY LINK_ID
BY PROD_DES
WHERE MAJOR_CATEGORY_DES = &MAJOR_CAT_DES.(OR(FIND MAJOR_CATEGORY_DES IN MAJOR_CATEGORY)).MAJOR_CAT_DES.;
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=STD_PRC, BACKCOLOR=YELLOW, WHEN=PRC_EFF_DAT GT CURRDATE ACROSS SITE_NUM, $
This message has been edited. Last edited by: MattC,
TABLE FILE CAR
SUM
SALES
LENGTH
COMPUTE FLAG/A1 = IF LENGTH GT 200 THEN '1' ELSE '0'; NOPRINT
ACROSS SEATS
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=SALES, BACKCOLOR=YELLOW, WHEN=FLAG EQ '1', $
ENDSTYLE
END
It only works for the first column, as I expect it to.
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
I thought I had read that if you have 2 or more conditions that you need to use an IF/THEN/ELSE to give a TRUE/FALSE for conditional formatting. If it's a single condition then what I had should of worked, which it did, when I tested it in the first place with just a single record meeting this criteria.
Since now I have multple records the formatting is not happening.
I tried your sugestion and that still did not accomplish this. I will keep poking around.