Hi there,
I am using studio. I extract a pdf using table extraction. However i wan to get A9:I18 into another table without writing and reading from an excel.
Hi there,
I am using studio. I extract a pdf using table extraction. However i wan to get A9:I18 into another table without writing and reading from an excel.
If you have the data extracted already using table extraction then just refer to the extracted datatable row and column that corresponds to your A9:I18
You want to get the range of data in a datatable. Am I right?
Hi @mkankatala yes i wan to get this range out separately from table extraction.
Can you try the below LINQ Expression in Assign activity,
- Assign -> dt_Input = dt_Input.DefaultView.ToTable(false, dt_Input.Columns.Cast(Of DataColumn).Take(9).Select(Function(col) col.ColumnName).ToArray())
- Assign -> dt_Output = dt_Input.asenumerable.Skip(8).Take(10).Copytodatatable()
The range A9:I18 stores in dt_Output datatable variable.
Hope it helps!!
Hi @mkankatala may i know what will be the variable type be
dt_Input is the variable where you stored the input datatable… @mark_rajkumar1
dt_Output is the datatable datatype variable which stores the output datatable after LINQ expressions. Means it stores the range from A9:I18 data.
Hope you understand!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.