Object to DataTable

Hi guys,
I hope you are doing well during this messy times!

I have a huge problem, I have a DataTable (dt_folder_repo) with four columns: Date, Folder, Table, Status

It’s pretty self-explanatory: Date contains a date in Date format, Folder contains a Path as String, Table contains a DataTable, and Status a String.

In order to populate Status I have to filter the DataTable contained in Table and print the resulting number of rows.


For Each row in dt_folder_repo :

-------- Assign
-------- dt_myTable = row.item(“Table”)

Doesn’t work.


Error: option strict on disallows implicit conversions from ‘Object’ to ‘DataTable’


Can anyone help me with this?

I didn’t withdraw the post, tho