I need to write a string variable to a to go in a specific place in the datatable. Im using the following:
Assign
Datatable(1)(0) = Variable
Actual code is = DT_Collector(PCAPDocNum-1)(0) = InvestorNameOutput
I am getting the following error message:
Assign: Cannot create an L-value from the given expression with property ‘set_Item’ because the target object is null.
I suppose your PCAPDocNum is greater than DT_Collector.rows.count.
Can you check it using the following WriteLine activity before the Assign. PCAPDocNum.toString + ":" + DT_Collector.rows.count.toString