Number rows in flexreport

Posted by: maximusdebois on 6 October 2021, 3:08 am EST

  • Posted 6 October 2021, 3:08 am EST

    I have a flexreport which pulls records from the database. I am looking for a way of numbering my records which does not pull the numbering from the database. So for instance if I have 3 records I want to create a column called S/N which will number the records like 1,2,3

  • Posted 6 October 2021, 6:34 am EST

    Hi,

    You can use scripting in FlexReport to achieve this. You can create a counter on Report.OnOpen and then increment the counter on Detail.OnFormat and then assign this counter as the Text for the serial number field.

    Please refer to the sample attached.

    Regards

    Avnish

    counterno.zip

Need extra support?

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

Learn More

Forum Channels