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 have generated a report that includes subtotals and a grand total line. Everything was fine until the user requested a Total # of records value added to the grand total line. I have been struggling trying to find a way to do this. My mind says that this should be a simple task, but it's not clicking. Any help would be appreciated.This message has been edited. Last edited by: James at WI,
Release 7.7.03, Windows platform, Excel, PDF, HTML,Active Reports, Active/Flex,
Posts: 25 | Location: Michigan, USA | Registered: May 09, 2008
Hi James, The following comes to mind: Use a define such that at the table or matrix is built each record gets an integer count of one and at the break disply a sum of that count. DEFINE MYFILE RECD_CNT/I9 = 1; END This, essentially, builds a new field in each extracted record containing the value one. Then you can do with it whatever turns you on. HTH
jimster06 DevStu WF 7.6.11 W7 HTML, PDF, EXL2K
Posts: 252 | Location: USA | Registered: April 15, 2003
Better, I now have a new column that has a 1 on every detail row, but at least the total (and subtotal) line has the correct value. Do you know if there is anyway to stop the display of the detail value but maintain the totals?
Thanks
Release 7.7.03, Windows platform, Excel, PDF, HTML,Active Reports, Active/Flex,
Posts: 25 | Location: Michigan, USA | Registered: May 09, 2008
How about using subfoot to print the total lines? If that is acceptable then the below example will help you. Here the Define field "CNT" is not diplayed in the table, however the sum of CNT is displayed in the subfoot.
DEFINE FILE CAR
CNT\I4=1;
END
TABLE FILE CAR
SUM
SALES
BY CNT NOPRINT
BY COUNTRY
BY CAR
ON CNT SUBFOOT
"Total Lines <ST.CNT>"
ON TABLE PCHOLD FORMAT HTML
END
Release : 7.7.02 OS : Linux App Server : Tomcat all output