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
[SOLVED] Row Counts
 Login/Join
 
Gold member
posted
I need to display a field containing the total number of columns on a report. I do not want the row count to display, 1,2,3,4,5. I just want 5 to display as a total. I see some recommendations on the forum but I do not understand how to do this in report painter. Any assistance is greatly appreciated.

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


WebFocus 7703
Windows 7
Output format: HTML, Excel, PDF
 
Posts: 54 | Registered: May 07, 2008Report This Post
Virtuoso
posted Hide Post
There is not anything to count the number of columns in a report unless you are talking about using ACROSS. If you're writing a report and you add four columns then you already know how many columns it has. Maybe a little more explanation / sample of exactly what you need would be helpful. Your post title says "Row Counts" so I'm not sure what you're looking for.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Gold member
posted Hide Post
Report shows
Part Number
11111
22222
33333
44444
55555
Total no of parts 5
The rowcount I need is how to display 5. Thanks


WebFocus 7703
Windows 7
Output format: HTML, Excel, PDF
 
Posts: 54 | Registered: May 07, 2008Report This Post
Virtuoso
posted Hide Post
There are numerous examples of what you need to do on the forum if you use the search tab and search on ROW COUNT. You can define or compute a counter field or use the CNT prefix. Search results contains examples of both.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Gold member
posted Hide Post
I have attempted some of the suggestions found in the forum and cannot get them to work. I have tried CNT and received an error. I created a DEFINE variable CNTR and used CNTR + 1. This displayed the data on all rows.


WebFocus 7703
Windows 7
Output format: HTML, Excel, PDF
 
Posts: 54 | Registered: May 07, 2008Report This Post
Gold member
posted Hide Post
Finally got it. I created a new compute variable called CNTR and set it to CNTR + 1. I then dragged the CNTR field to the report. Field listed 44 rows. I then dragged the CNTR field to the report footer and made the column iteself invisiable. It works.


WebFocus 7703
Windows 7
Output format: HTML, Excel, PDF
 
Posts: 54 | Registered: May 07, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders