Hi there - could someone help with this auto-increment datatable issue I’m having please? It seems to be alluded to in other threads but I can’t find any conclusive solutions.
I have a datatable to which I’m adding rows for each iteration of a loop with an index/serial number column which I want to increment by 1 for each new row, beginning with ‘1’ for the first row. I’ve configured the Add Column activity to ‘Auto-increment’, but the first row in new datatable is being numbered ‘0’.
This is how the index Add Data Column is configured:
And this is how the Add Data Row is trying to populate the column on each iteration of the loop:
But this is what it produces each time I run it:
Any help you can give in resolving this would be very very appreciated indeed.
Thanks very much - best wishes