Can I add a row that I am looping through into an Output DataTable?

Hi there,

I am trying to add which the CurrentRow into the DataTable ‘dtAWB_errors’. However, it would say ‘Add Data Row: This row already belongs to another table.’ when I run it.
image

The above function is nested within this For Each activity, which I am trying to store the ‘CurrentRow’

Is there a way where I store the CurrentRow into my ‘dtAWB_Errors’?

Regards

use the ArrayRow field and the Statement: CurrentRow.ItemArray
delete from DataRow field the CurrentRow Statement

1 Like

Thanks for the help, it worked!

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