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.
I came up with this workaround, but I'd like to find a better, if there is one.
DEFINE FILE EMPDATA DUMMY/A1=' '; END TABLE FILE EMPDATA SUM COMPUTE compute_2/D12.2 = SALARY * 7 / 5; SALARY BY LOWEST DIV BY DUMMY NOPRINT BY DEPT BY LOWEST LASTNAME
ON DIV RECOMPUTE AS '*TOTAL' ON DUMMY RECOMPUTE AS '*TOTAL DUMMY' ON DEPT RECOMPUTE AS '*TOTAL DEPT'
WHERE DIV EQ 'CE';
ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = endeflt, $ TYPE=SUBTOTAL, BY=2, COLOR='WHITE', BACKCOLOR='WHITE', $ ENDSTYLE END
WF 7.7.03, Windows 7, HTML, Excel, PDF
Posts: 225 | Location: San Francisco Bay Area, California | Registered: October 26, 2006
SET PRINTPLUS=ON
TABLE FILE CAR
SUM
RETAIL_COST
DEALER_COST
COMPUTE MARKUP/D10 = RETAIL_COST - DEALER_COST;
BY COUNTRY
BY CAR
ON COUNTRY RECOMPUTE
ON COUNTRY SUBFOOT
" "
ON CAR RECOMPUTE
ON CAR SUBFOOT
" "
ON TABLE PCHOLD FORMAT HTML
END
Oh, never mind my code before. I just saw your sample code with what you actually wanted to obtain. I thought you needed a blank line between each total -and- before the grand total.
Yes John, sorry. I was misled by the title of your post and thought you indeed needed a blank line between the RECOMPUTES ... anyhow, I don't think there's a better way to achieve what you need than by using a dummy support field as you already did.