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.
This is an accordion by row report, taken from the manual, except that I've added styling on the 'State Rows'.
SET EXPANDBYROW=ON
TABLE FILE GGSALES
SUM BUDUNITS UNITS BUDDOLLARS DOLLARS
BY REGION
BY ST
BY CATEGORY
BY PRODUCT
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
GRID=OFF,FONT=ARIAL,$
TYPE=SUBTOTAL, BY=ST, BACKCOLOR=RGB(197 238 208), COLOR=RED,$
TYPE=TITLE, JUSTIFY=CENTER,$
ENDSTYLE
END
-EXIT
Indeed, I see the styling on the 'State Rows' when I run this.
My requirement is to style only the State Rows if the state is IL. Therefore, I add conditional styling:
SET EXPANDBYROW=ON
TABLE FILE GGSALES
SUM BUDUNITS UNITS BUDDOLLARS DOLLARS
BY REGION
BY ST
BY CATEGORY
BY PRODUCT
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
GRID=OFF,FONT=ARIAL,$
TYPE=SUBTOTAL, BY=ST, BACKCOLOR=RGB(197 238 208), COLOR=RED, WHEN = ST EQ 'IL',$
TYPE=TITLE, JUSTIFY=CENTER,$
ENDSTYLE
END
-EXIT
In this case, I see no styling on the 'State Rows' for Illinois.This message has been edited. Last edited by: David Briars,
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
But I do. It is most probably your version. Even this works:
-* File briars01.fex
SET EXPANDBYROW=ON
TABLE FILE GGSALES
SUM BUDUNITS UNITS BUDDOLLARS DOLLARS
BY REGION
BY ST
BY CATEGORY
BY PRODUCT
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
GRID=OFF,FONT=ARIAL,$
TYPE=SUBTOTAL, BY=ST, BACKCOLOR=RGB(197 238 208), COLOR=RED, WHEN=ST EQ 'IL',$
TYPE=SUBTOTAL, BY=ST, BACKCOLOR=RGB(197 238 208), COLOR=RED, WHEN=ST EQ 'TX', $
TYPE=TITLE, JUSTIFY=CENTER,$,
ENDSTYLE
END
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006