Re: How to assign a seq number to each table record

Home Forum Working with Tables How to assign a seq number to each table record Re: How to assign a seq number to each table record

#5902

Create a behavior to loop through the table.

Start with a Set Table Rows Object – Move to first row. Next use two Set Fields. Set a hidden helper field to 1. Set Field # column-current row to value in hidden helper. Set Table Rows Object – Move to next row. Simple Branch object – Was last command successful? If true use two Set Fields. Set the hidden helper field using a formula (hidden helper value + 1). Set Field # column current row to value in hidden helper. Then loop back to second Set Table Rows object (move to next row). If false go to Exit behavior object because you have reached the end of the table.

Workflow software, Process software, Procedure software