cancel
Showing results for 
Search instead for 
Did you mean: 

Sr.No is not working proper when Group is changed

Former Member
0 Kudos

Hi,

The Sr.No is not working proper when Group is changed in my report so give me a better solution for Sr.No.

i used 3 Group in my Reports.

For example -

Sr.NoValue 1Value 2Value 3
2ABCD101010
3PQRS0500
Gross Total101510

if i change the value1 PQRS is null then Sr.No is change it shows the value of Sr.No is 3 . i want to show the Sr.No value is 1.

Expected Output -

Sr.NoValue1Value 2Value 3
1ABCD101010
2PQRS0500
Gross Total101510

please give me a solution for Sr.No .

rly fast.

Thanks!!!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member226669
Participant
0 Kudos

Hi Kiran,

1)   Create a formula @initialize with the below code and place it in the section above the one where you want to display Sr. No.

whileprintingrecords;

numbervar SrNo:=0;

2)   Create another formula with the code and place where you want to display Sr. No.

whileprintingrecords;

numbervar SrNo:=SrNo+1;

- Nrupal

abhilash_kumar
Active Contributor
0 Kudos

Hi Kiran,

Formula 1 from Nrupal's code should be on the Group Header.

-Abhilash