For each item, update index value based on logic


I am reading a PDF table and need to move back and forth to manage multi-line data table. To control the logic. I want to move forward or backwards. So I want to manually set the index value of an array index.

For Each loop.

Any idea how can I do that ?

Hey @Dwijadas_Senapati,

in a for each loop you cannot manipulate the index inside the loop.
For each will go over each item in your table / list / array.

If you want to manipulate it, you have to use a while or a do while loop instead.

Main.xaml (7.2 KB)



Hi @Lunk,

Thanks for your quick reply. I will test it and update you shortly.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.