Hi,
I am trying to add a data row to a datatable with Add Data row.
It breaks when one of the columns in in datarow has this value “89MMM49XXXXX” saying it is not a valid Date format. I have no clue why it thinks it is a date. It is just a string. How can I fix this?
Thank you so much,
Correct, there are additional data columns. But it is erroring exactly for this column says not valid Date format. Thank you for looking into this.
Raj_esh
(RM)
August 22, 2024, 11:18pm
4
This works fine for me. Hope u are adding the value as string within double quotes
I am getting data as csv. Converting CSV to array. And adding this with Add Data row to the data table.
Thank you,
Yoichi
(Yoichi)
August 22, 2024, 11:22pm
6
Hi,
Do you use GenerateDataTable activity? if yes, can you try to turn off AutoDetectTypes property?
Regards,
1 Like
Hi @A_Learner
Try to cast all the values you are reading from csv as string type (eg : testValue.ToString()) and then add it to the array.
Thank you, @Yoichi
I am using clone to get data table.
system
(system)
Closed
August 29, 2024, 8:59pm
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.