Writing to a Data Table issue

I am trying to write to a data table but getting the below error message

DataTable1 - dtZRFTC0004
DataTable2 - dtEKKN

Scenario
Looking at data table 1, IF “Network” starts with “1” THEN write the “Purchase Order Number” to data table 2

Im thinking the fact that I’m in a ForEach for Datatable 2 is the reason i cant write to data table 1

any idea why dtEKKN(“Purchase Order Number”) wouldnt work???

You can’t reference a datatable variable with yourDT(“Column Name”). That’s how you reference values in a ROW, like CurrentRow.

THEN write the “Purchase Order Number” to data table 2

To write to a datatable you use the Add Data Row activity.

I would suggest doing this…

Thank you sir! i will take the below course you recommended!

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