InfoPath 2010: Repeating table incremental row number

First create a repeating table with an extra column for the Row Number ( Drag and drop Repeating Table in InfoPath form)

Right click your RowNum field and choose Textbox Properties.  Change the Data type to Whole Number (integer).  Click on the function (fx) button to open the Insert Formula window and paste the following formula 

count(preceding-sibling::*) + 1



Comments

Post a Comment

Popular posts from this blog

SharePoint 2016 and 2019 Ports

Unlock the SharePoint site using Powershell command

PsConfig step by step /Configuration Wizard. “Upgrade Available” vs “Upgrade required”