Thursday, September 10, 2015

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



1 comment: