Hi, I´m having a problem I have this activity to filter an excel file, but it is returning this error:
This is the sentence I have: filteredDataTable = in_InitialTable.Select([out_Stratify]=out_StrataName AND [out_FieldToSearch] < out_MaxValueToFilter).CopyToDataTable
The error is this one: Option StrictOn disallows implicit conversion from Boolean to String
Write conditions in Double Quotes and values for that column will be in single quotes. As you are using variable in value fields you need to add them inside single quote as below shown.
in_InitialTable.Select(“[out_Stratify]='”+out_StrataName+“’ AND [out_FieldToSearch] < '”+out_MaxValueToFilter+"').CopyToDataTable