Focal Point Banner


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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
0 RECORDS
 Login/Join
 
Platinum Member
posted
Is there a way to make the report show a sum field and a value of 0 if it has 0 RECORDS returned?

For example, the report below looks for the SUNCGR scholarship in a table, and does a sum of every instance it finds. But if that scholarship doesn't pay out this year, then it won't exist in the table. Thus, the report output is 0 RECORDS. I would like for the report to show the field SUNCGR with a 0 below it to denote no funds. Is this possible?

TABLE FILE RPRAWRD
SUM
     RPRAWRD_ACCEPT_AMT/D12M AS 'SUNCGR'
WHERE RPRAWRD_FUND_CODE EQ 'SUNCGR';
WHERE RPRAWRD_AIDY_CODE EQ '&AID_YEAR';
WHERE RPRAWRD_ACCEPT_AMT GT 0;
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE HOLD AS REPORT1 FORMAT HTMTABLE
END  


BTW, I am doing the HTMTABLE, so the current method just leaves big blank spots. I am doing this code for 40 fund codes.

Brian

This message has been edited. Last edited by: funsutton,


-Brian

Webfocus v7.6.1 on Windows XP
 
Posts: 108 | Registered: June 19, 2006Report This Post
Platinum Member
posted Hide Post
Check this link :
quote:


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
 
Posts: 210 | Location: Ottawa | Registered: November 03, 2005Report This Post
Platinum Member
posted Hide Post
I am not sure why I couldn't find that, but I do appreicate it.

Thanks,
Brian


-Brian

Webfocus v7.6.1 on Windows XP
 
Posts: 108 | Registered: June 19, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders