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.
No MartinY, it's not just because it's Friday . Raju, please be clear on exactly what you are looking for. As far as I can tell from looking at your question and example it looks as though you just want to add an additional heading above the columns. You can do what Martin showed or:
TABLE FILE CAR
BY CAR.ORIGIN.COUNTRY
BY CAR.COMP.CAR
BY CAR.CARREC.MODEL
ON TABLE SUBHEAD
"Approval Rate(%)"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
ENDSTYLE
END
If this is not what you are looking for please provide some more information for us.
JC WebFOCUS Dev Studio / App Studio 8.2.01 Windows 7
column1 doc, column2 Name, column3 regional office, column 4 area office and column five Approval rate (%) is sub head and below Count and amount separate columns.
Column 5 example like below. -------------------- Approval Rate (%) -------------------- Count | Amount
1 | $123 2 | $567
Count and Amount columns and data populated correctly but I need to add "Approval Rate (%)" heading on above the count and amount columns.
Perhaps one of the easier(?) methods of doing this could be the following in which I've coloured the cells that I think you are trying to manipulate. -
TABLE FILE CAR
SUM RCOST AS ''
DCOST AS ''
BY COUNTRY AS ''
BY CAR AS ''
BY MODEL AS ''
ON TABLE SUBHEAD
" <+0> <+0> <+0>Approval Rate(%)"
"Country<+0>Manufacturer<+0>Model<+0>Retail<+0>Cost"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE=IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty, $
TYPE=REPORT, HEADALIGN=BODY, $
TYPE=TABHEADING, SIZE=10, STYLE=-BOLD, $
TYPE=TABHEADING, LINE=1, ITEM=4, JUSTIFY=CENTER, BACKCOLOR=RGB(200 200 200), COLSPAN=2, $
TYPE=TABHEADING, LINE=2, ITEM=4, JUSTIFY=CENTER, BACKCOLOR=RGB(200 200 200), $
TYPE=TABHEADING, LINE=2, ITEM=5, JUSTIFY=CENTER, BACKCOLOR=RGB(200 200 200), $
ENDSTYLE
END
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
I have code like this for count and amount, but I need to add heading or subheading "Approval Rate (%)"
TABLE FILE WAIVDB SUM COMPUTE REG_CNT_PCT/D6.2%= IF (HWVRGRP EQ 'Regular' OR 'Denial') THEN (REG / TOT_CNT) * 100 ELSE 0; AS 'COUNT'
COMPUTE REG_AMT_PCT/D6.2%= IF (HWVRGRP EQ 'Regular' OR 'Denial') THEN (HWVAAMT / (HWVAAMT + HWVDAMT) * 100) ELSE 0; AS 'AMOUNT'
HEADING CENTER " FY2018 TOP FOs (>50 Waivers,>80% Approval Rate) " ON TABLE HOLD AS FOSS FORMAT EXL2K MISSING OFF ON TABLE SET STYLE * TYPE=REPORT, FONT=TREBUCHET MS, GRID=ON, BORDER=HEAVY,$ ENDSTYLE END
TABLE FILE CAR
SUM SALES
COMPUTE RATE/D5.2%= RETAIL_COST / DEALER_COST; NOPRINT
BY COUNTRY
ON COUNTRY SUBHEAD
"Approval rate (%) for < COUNTRY : <RATE"
END