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

Clear fields based on drop-down values in PowerApps

Hide a SharePoint list field based on user group using JQuery Webservice in 2010