Skip to Content
author's profile photo Former Member
Former Member

Sr.No is not working proper when Group is changed

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.No Value 1 Value 2 Value 3 2 ABCD 10 1010 3 PQRS 0 500 Gross Total 10 1510

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.No Value1 Value 2 Value 3 1 ABCD 10 1010 2 PQRS 0 500 Gross Total 10 1510

please give me a solution for Sr.No .

rly fast.

Thanks!!!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 20, 2015 at 07:30 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.