My for each loop is unable to go to the next row

Here the ExtractDataTable is the outer datatable and for iteration of row in this table, the inner datatable dtVSR will loop through all the rows.

So if the condition is true, are you updating the data in ExtractDataTable or dtVSR?

Thanks