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     [SOLVED] How to show row number in reports in DevStudio

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] How to show row number in reports in DevStudio
 Login/Join
 
Gold member
posted
Hi,

I need a report to show the row number. For examples:

Num. Field1 Field2
1 f1 f2
2 f11 f22

How can i get that?

Thanks in advance.

-Maria

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


====================
Production: WebFOCUS 7.1.1 on Window 2003
WebFOCUS 7.1.1 Client on HP-UX on WebLOGIC 8.1 sp4
Dev: WebFOCUS 7.6.4 on Window 2003
WebFOCUS 7.1.1 Client on HP-UX on WebLogic 8.1 sp4
 
Posts: 52 | Registered: June 28, 2005Report This Post
Expert
posted Hide Post
Hi Maria,

Use LIST instead of PRINT or SUM



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
if we use LIST and we use group by option at the same time,then the list paramater shows 1 instead of the row number,is it possible to solve this problem?
 
Posts: 22 | Registered: February 23, 2005Report This Post
Master
posted Hide Post
Try
COMPUTE TALLY/I5 = LAST TALLY + 1 ; AS 'Item no in Report'



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Member
posted Hide Post
it worked hammo1j,thanks for your help
 
Posts: 22 | Registered: February 23, 2005Report This Post
Member
posted Hide Post
hammo1j - I have been looking through some very complicated code to accomplish what you did in one line! many thanks!!!


WebFOCUS 7.1.4

Platform: Solaris

Output: Excel, PDF, HTML, ALPHA, WP

Database: Oracle, DB2
 
Posts: 5 | Registered: June 09, 2006Report 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     [SOLVED] How to show row number in reports in DevStudio

Copyright © 1996-2020 Information Builders