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.
TABLE FILE CAR
SUM SALES
FOR COUNTRY
'ENGLAND' AS 'England' LABEL 'COUNTRY1' OVER
'W GERMANY' AS 'Germany' LABEL 'COUNTRY2' OVER
'FRANCE' AS 'France' LABEL 'COUNTRY3' OVER
RECAP RTOT = COUNTRY1 + COUNTRY2 + COUNTRY3; AS 'TOTAL'
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLESHEET *
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=8, $
ENDSTYLE
END
How do I style the RECAP row in this piece of code?. I can't figure out how to refer to RTOT. I've tried adding a LABEL tag but that is not valid for RECAP.
An example in the documentation illustrates how to identify an FML row, but does not show how to identify an FML RECAP row.
TABLE FILE LEDGER
SUM AMOUNT FOR ACCOUNT
1010 AS 'CASH ON HAND' LABEL COH OVER
1020 AS 'DEMAND DEPOSITS' LABEL DD OVER
1030 AS 'TIME DEPOSITS' LABEL TD OVER
BAR OVER
RECAP TOTCASH = R1 + R2 + R3; AS 'TOTAL CASH'
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, $
TYPE=REPORT, LABEL=COH, STYLE=ITALIC, $
TYPE=REPORT, LABEL=DD, STYLE=ITALIC, $
TYPE=REPORT, LABEL=TD, STYLE=ITALIC, $
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
When you use RECAP on a non existant field, that becomes the row's label -
TABLE FILE CAR
SUM SALES
FOR COUNTRY
'ENGLAND' AS 'England' LABEL 'COUNTRY1' OVER
'W GERMANY' AS 'Germany' LABEL 'COUNTRY2' OVER
'FRANCE' AS 'France' LABEL 'COUNTRY3' OVER
RECAP RTOT = COUNTRY1 + COUNTRY2 + COUNTRY3; AS 'TOTAL'
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLESHEET *
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=8, $
TYPE=DATA, LABEL=RTOT, COLOR=BLUE, $
ENDSTYLE
END
T
p.s. 700 posts eh? Well done
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Phew, I thought you were going to ask me the location where that is documented! So I found it anyway. Page 18-66 in the version 7 release 1 "Creating Reports with WebFOCUS Language" DN4500695.0505
... For a RECAP row, the name of the calculated value serves as a label; ...
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004