I have a datamepper who writes data into the same table in 2 repeat steps.
I have added a RecordIndex to the table by using:
First repeat writes the RecordIndex correct 1,2,3 etc,
The second of cause starts from 1 again.
How do I set the recordIndex to the current record number, instead of using setps.currentloopcounter.
So the second repeat in this case starts from 4 ?