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.
Hi All, Hopefully I can explain what I am trying well.
I have a report that is doing Totals and allows the user to sort the report manually. I am also doing alternate row styling using css. My problem is that when a user changes the sort, some of the BY rows are showing up more than once. When I change the BY to use TOTAL my alternating lines are breaking.
My actual data source and columns are different, but I think this represents what I am trying to do.
TABLE FILE SALES
SUM
SALES
REVENUE
PROFIT
COMPUTE PCT_SALES/D3% = (SALES/TOTAL_SALES)*100;
COMPUTE BAND1/I1= IF LAST BAND1 EQ 1 THEN 2 ELSE 1; NOPRINT
BY &ORDER TOTAL &SORT NOPRINT
BY REGION_NAME
ON TABLE RECOMPUTE SALES REVENUE PROFIT PCT_SALES
ON TABLE HOLD AS ONSST FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
TYPE=TITLE, COLUMN=N3, FOCEXEC=app/on_subjstat_container( SORT='SALES' ), CLASS=reportTitle, $
TYPE=TITLE, COLUMN=N3, FOCEXEC=app/on_subjstat_container( SORT='REVENUE' ), CLASS=reportTitle, $
TYPE=DATA, CLASS=reportDataEven, WHEN=BAND2 NE 1, $
TYPE=DATA, CLASS=reportDataOdd, $
Any help would be great.
CodyThis message has been edited. Last edited by: Cody,
The BAND1/BAND2 is just a type, they are both the same in my code. I had to resort to the code you have below, but it blew up a lot of my css styling, so I had to recreate all that as well