I managed to read the data and generate a datatable. My problem is that if I use the activity “Generate Datatable” the new datatable doesn’t copy the headers. Therefore i can’t filter the Data for “Limit”<10000. Any idea?
Yes i tried to use the row Header Option and Set the filter Option in the “Filter data table” according to Ur picture but i get an error message : "value of argument ‘columnindex’ is Not Set or valid
After Generate Datatable activity, pass that Datatable to Output Datatable activity to convert Datatable into string. And then print it and check once. Show me screenshot of it.
The reason is usually COLUMN INDEX starts from 0 for first column
Here we have mentioned as 3 which refers to fourth column but the Limit column is a third column in the table that’s why buddy
As we were discussing we won’t be able to access column name Limit it was suggested to use columnindex and you were almost done
No worries
By the way that was the reason why it gave full records without any filter as we mentioned as 3
Thanks for the help i found my mistake. I didn’t check the box for automatic detecting of variable types in the data table. Thats why i couldn’t filter the Limits properly. But I still have one last question. After filtering the data table it should paste the information into an excel spreadsheet. It works properly the first time but if i run the operation again it doesn’t clean the spredsheet. So if my first filtering results in 3 rows and the second one only results in 2 rows then it won’t delete the third row from the first run. Anyway to make sure everytime i run the robot it uses an empty excel spreadsheet/ completely overwrite the old one?
Fine in that case let’s do one thing
For each iteration let’s save the excel file with a time stamp so that it will create a new file without overwriting the old one
—this helps us to have a back up file of previous one as well and this can be done by mentioning the time stamp along the file path of excel in excel application scope
“Yourfolderpath\Output_”+Now.Tostring(“hh_mm_ss”)+”.xlsx”