Hi,
I realized that I understand the logic now after I 'walk through' the code against the row-set 'row by row'. The key thing I was missing is that the rows were sorted within the duplicate group already, hence the script only mark the 1st row within the group.
Regards,
Minnie
|