Working data tables - Add Data Row - Has limiations?

Hi,

Why is this not working?


dt_One is filled correctly in read range
Error is shown when reaching Add Data Row activity.

Add Data Row: Object reference not set to an instance of an object.

Can someone help me?

Thanks in advance,

@Pelayo_Celaya_Fernandez

you cannot add a datarow of one tbale to another directly

you can use currentRow.ItemArray in the array row field

or if you need all rows then use use newdt = dt.copy()

cheers

That was tested. I tested it again and did not work:

image
image

Any other idea?

@Pelayo_Celaya_Fernandez

As per error dt_two is not initialized

please use dt_two = dt_one.Clone() before for loop

cheers

1 Like

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