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.
END TABLE FILE CAR SUM r1c1 r1c2 r1c3 r1c4 r1c5 OVER r2c1 r2c2 r2c3 r2c4 r2c5 OVER row3column1 row3column2 row3column3 row3column4 row3column5 ACROSS LOWEST CAR.ORIGIN.COUNTRY WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND'; ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET ASNAMES ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty, $ PAGESIZE='Ledger', ORIENTATION=LANDSCAPE, $ TYPE=REPORT, WRAP=1.250000, $ ENDSTYLE END
----a solution that I think is not supportable in our environment--------
DEFINE FILE CAR All/A3=IF MODEL EQ MODEL THEN '*' ELSE '*'; END
TABLE FILE CAR SUM COMPUTE Counter/D8 = Counter + 1; BY CAR.CARREC.MODEL BY CAR.CARREC.All
ON TABLE HOLD AS TEMPCTR FORMAT FOCUS INDEX 'All' END DEFINE FILE CAR All/A3=IF MODEL EQ MODEL THEN '*' ELSE '*';
END TABLE FILE CAR PRINT r1c1 r1c2 r1c3 r1c4 r1c5 r2c1 r2c2 r2c3 r2c4 r2c5 row3column1 row3column2 row3column3 row3column4 row3column5 BY CAR.CARREC.All WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND'; ON TABLE HOLD AS TEMPCAR FORMAT FOCUS INDEX 'All' END JOIN LEFT_OUTER TEMPCAR.SEG01.All IN TEMPCAR TO MULTIPLE TEMPCTR.SEG01.All IN TEMPCTR TAG J0 AS J0 END DEFINE FILE TEMPCAR Column1/D12= IF J0.SEG01.Counter EQ 1 THEN TEMPCAR.SEG01.r1c1 ELSE IF J0.SEG01.Counter EQ 2 THEN TEMPCAR.SEG01.r2c1 ELSE IF J0.SEG01.Counter EQ 3 THEN TEMPCAR.SEG01.row3column1 ELSE 0; Column2/D12= IF J0.SEG01.Counter EQ 1 THEN TEMPCAR.SEG01.r1c2 ELSE IF J0.SEG01.Counter EQ 2 THEN TEMPCAR.SEG01.r2c2 ELSE IF J0.SEG01.Counter EQ 3 THEN TEMPCAR.SEG01.row3column2 ELSE 0; Column3/D12= IF J0.SEG01.Counter EQ 1 THEN TEMPCAR.SEG01.r1c3 ELSE IF J0.SEG01.Counter EQ 2 THEN TEMPCAR.SEG01.r2c3 ELSE IF J0.SEG01.Counter EQ 3 THEN TEMPCAR.SEG01.row3column3 ELSE 0; Column4/D12= IF J0.SEG01.Counter EQ 1 THEN TEMPCAR.SEG01.r1c4 ELSE IF J0.SEG01.Counter EQ 2 THEN TEMPCAR.SEG01.r2c4 ELSE IF J0.SEG01.Counter EQ 3 THEN TEMPCAR.SEG01.row3column4 ELSE 0; Column5/D12= IF J0.SEG01.Counter EQ 1 THEN TEMPCAR.SEG01.r1c5 ELSE IF J0.SEG01.Counter EQ 2 THEN TEMPCAR.SEG01.r2c5 ELSE IF J0.SEG01.Counter EQ 3 THEN TEMPCAR.SEG01.row3column5 ELSE 0; END TABLE FILE TEMPCAR BY LOWEST J0.SEG01.Counter BY LOWEST J0.SEG01.Column1 BY LOWEST J0.SEG01.Column2 BY LOWEST J0.SEG01.Column3 BY LOWEST J0.SEG01.Column4 BY LOWEST J0.SEG01.Column5 BY TOTAL LOWEST COMPUTE Column6/A6 = IF Counter EQ 1 THEN 'R1C6' ELSE IF Counter EQ 2 THEN 'R2C6' ELSE IF Counter EQ 3 THEN 'R3C6' ELSE ''; BY TOTAL LOWEST COMPUTE Profit/D12= Column1-Column2; WHERE J0.SEG01.Counter LE 3; ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET ASNAMES ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty, $ ENDSTYLE ENDThis message has been edited. Last edited by: JanetKay,
Documentation > Creating Reports With WebFOCUS Language > Formatting Report Data > Positioning Data in a Report > Controlling Wrapping of Report Data > OVER and WRAP With Non-Blank Column Titles
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
END TABLE FILE CAR SUM Tr1c1 AS '' r1c1 AS '' Tr1c2 AS '' r1c2 AS '' Tr1c3 AS '' r1c3 AS '' OVER Tr2c1 AS '' r2c1 AS '' Tr2c2 AS '' r2c2 AS '' Tr2c3 AS '' r2c3 AS '' OVER Tr3c1 AS '' r3c1 AS '' Tr3c2 AS '' r3c2 AS '' Tr3c3 AS '' r3c3 AS '' ACROSS LOWEST CAR.ORIGIN.COUNTRY WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND'; ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET ASNAMES ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty, $ PAGESIZE='Ledger', ORIENTATION=LANDSCAPE, $ TYPE=REPORT, WRAP=1.250000, $ ENDSTYLE END