hi, i am in automation where i am reading a data table and by using for each row getting some value and pasting to a word file using “insert data table in a document’” but getting following error
BC30512: Option Strict On disallows implicit conversions from ‘object’ to ‘datatable’. The selected value is incompatible with the property typ
am i doing it in correct manner of should try in other way?
CurrentRow(1) is an object (a column) not a datatable. The activity accepts a datatable variable. Your datatable variable is dt1 - you give that to the Insert DataTable in Document activity. There’s no need to loop and do it row by row.