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.
How do I go about changing font color while doing and if statement. I have certain information that I want red and other information purple and then the rest black. I would like to do an if statement. If lateFlag = 'L' then color = 'purple'.
Thanks for the help in advance.
Prod: WebFOCUS 8.2.0.4 OS: Windows Outputs: HTML, PDF, Excel, PPT In Focus since 2005
Check out the conditional styling options available in the STYLESHEET. You can easily do this in the stylesheet using a conditional test (slightly different syntax than in the body of the report) and assign RGB colors to the lines.
Kevin
WF 7.6.10 / WIN-AIX
Posts: 141 | Location: Denver, CO | Registered: December 09, 2005
Pam that still didn't work. I had it working a while ago with the code you gave me but I ended up change stuff in the overall report and now I can't get it to work again.
Thanks
Prod: WebFOCUS 8.2.0.4 OS: Windows Outputs: HTML, PDF, Excel, PPT In Focus since 2005
DEFINE FILE CAR PROFIT/D12.2 = RETAIL_COST - DEALER_COST; END -* SET BYDISPLAY = ON -* TABLE FILE CAR PRINT DEALER_COST RETAIL_COST PROFIT BY COUNTRY BY CAR BY MODEL ON TABLE SET STYLE * UNITS=IN, PAGESIZE='SCREEN', LEFTMARGIN=0.000000, RIGHTMARGIN=0.000000, TOPMARGIN=0.000000, BOTTOMMARGIN=0.000000, SQUEEZE=ON, ORIENTATION=LANDSCAPE, $ TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, $ TYPE=DATA, COLOR='PURPLE', COLUMN=PROFIT, WHEN=PROFIT GE 5000, $ TYPE=DATA, COLOR='RED', COLUMN=PROFIT, WHEN=PROFIT LE 999, $ ENDSTYLE ON TABLE PCHOLD FORMAT EXL2K END