I have created a datatable with col. (FileName [String], NewFileName [String], IsDuplicate [Boolean]).
I want to iterate through the DtTbl to find duplicate values in NewFileName. Each a duplicate NewFileName is found I want to set the Col. IsDuplicate to True for all rows which has the duplicated NewFileName.
I am at a loss of how I can achieve this, I appreciate any help that you can give.
Group rows by NewFileName, then for groups with more than 1 element set flag to true.
Something like this (can’t check syntax but should get you on track):