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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Report Painter Fucntion

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Report Painter Fucntion
 Login/Join
 
Silver Member
posted
Is there a function in Report Painter that allows you to "Count" the number of lines found in a section and place the value in a subfoot? In Crystal Reports (sorry) there is a pre-existing dragable function called COUNT. I am trying to make this as easy as possible and not have to create a field and compute a total.


WebFOCUS 7.6.4
Windows
 
Posts: 30 | Registered: May 14, 2008Report This Post
Guru
posted Hide Post
If you selected SUM instead of PRINT, you should be able to drop down to CNT for counter in Report Painter.

Sayed


WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
 
Posts: 285 | Location: Texas | Registered: June 27, 2006Report This Post
Expert
posted Hide Post
Seadog,

This "may" give you an idea:

 
SET ASNAMES = ON
TABLE FILE CAR
SUM 
     CNT.MODEL AS 'MODEL_CNT' 
 BY COUNTRY
PRINT 
     CAR
     MODEL
 BY COUNTRY
ON TABLE HOLD
END
-RUN
TABLE FILE HOLD
PRINT 
      CAR
      MODEL
  BY COUNTRY
ON COUNTRY SUBFOOT
"Total Models <MODEL_CNT"
END
-RUN


Hope this helps...

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Silver Member
posted Hide Post
Can you please be a little more explanatory ?


WebFOCUS 7.6.4
Windows
 
Posts: 30 | Registered: May 14, 2008Report This Post
Expert
posted Hide Post
Seadog,

Report Painter allows you to HOLD data, just like everywhere else in WebFOCUS.

My post above shows an example of counting records and using it in a SUBFOOT, which was your question.

Another way is to count the records, HOLD and do a -READ on the HOLD into an &VARIABLE.

There are many ways to do this, the manual(s) cover quite a lot of them...

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Silver Member
posted Hide Post
You know in Crystal Reports ALL you have to do is say =COUNT(fieldname) and stick it in the group break and your done. Why is this so complicated in Report Painter. A question for the Product Manager I guess.


WebFOCUS 7.6.4
Windows
 
Posts: 30 | Registered: May 14, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Report Painter Fucntion

Copyright © 1996-2020 Information Builders