Rank Number

Posted by: sokrates11 on 4 August 2017, 3:24 pm EST

  • Posted 4 August 2017, 3:24 pm EST

    How can I re-numbering in each case? Thanks.
  • Replied 4 August 2017, 3:24 pm EST

    @sokrates11 said:
    How can I re-numbering in each case? Thanks.






  • Replied 4 August 2017, 3:24 pm EST

    Hello,

    You can implement the same with the following code in report's code behind :

    Dim rownum As Integer

    Private Sub Detail_Format()
    rownum = rownum + 1
    Field5.Text = rownum
    End Sub

    Private Sub GroupHeader1_Format()
    rownum = 0
    End Sub


    Attached is the sample for your reference.

    Hope this helps.

    Regards,
    Reema
    2016/05/RankNumber.zip
  • Marked as Answer

    Replied 4 August 2017, 3:24 pm EST

    @reema-pruthi said:
    Hello,

    You can implement the same with the following code in report's code behind :

    Dim rownum As Integer

    Private Sub Detail_Format()
    rownum = rownum + 1
    Field5.Text = rownum
    End Sub

    Private Sub GroupHeader1_Format()
    rownum = 0
    End Sub


    Attached is the sample for your reference.

    Hope this helps.

    Regards,
    Reema


    thanks for helping
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels