Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had create a report which able to display datas as grouping and I only know that '=rownumber("GroupName")' can provide row numbers of each row number in each group like:
hearder1
  1. abc..
  2. def...
  3. ghi....
header2
  1. jkl..
  2. mno...

, but I still need to know how can I add row number to the front of each header row? ; like
1.hearder1
  1. abc..
  2. def...
  3. ghi....
2.header2
  1. jkl..
  2. mno...
Posted
Updated 28-Nov-17 20:02pm
v2

You can insert in
RowNumber(Nothing) 
in each group header
 
Share this answer
 
Comments
jack_th 7-Mar-11 3:40am    
Thank you for suggestion but it doesn't work well, because the row number is not run correctly. It also count and +1 event the sub rows.
Devangrathod 17-Aug-17 10:35am    
Thank you i got the solution of my problem from this.
C#
=RunningValue(Fields!GroupName.Value, countdistinct,Nothing)
in each group header
 
Share this answer
 
Comments
Ankit Gajera 18-Feb-14 8:32am    
Subrow was not display.only one row is display.....
mrtgzn 21-Mar-15 19:17pm    
thanx
Rahul Kushwaha 30-Jun-15 9:32am    
thanks for the solution
vrkrishnareddy 15-Jan-16 0:27am    
Thanks you very much. Nice solution
.net developer123456789 4-Oct-17 3:15am    
Thanks,It's working fine
Hi Jack,

It very simple to show record number. just do the following step:

Drag and Drop Record Number located under the Special Fields in the Field Explorer.


Thanks,
Imndadhusen
 
Share this answer
 
Comments
jack_th 7-Mar-11 3:43am    
Thanks sir, I will try that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900