Código bruto.
Obtenha o número de linhas (chamado intROWEND)
for intCOUNTER = 1 to intROWEND - 1 do
get date for row(intCOUNTER)
get UNIQUEID for row(intCOUNTER)
booleanCLOCKEDOUT = False
for intCOUNTER2 = intCOUNTER + 1 to intROWEND
if (date(row(intCOUNTER) = date(row(intCOUNTER2)) and (UNIQUEID(intCOUNTER) = (UNIQUEID(intCOUNTER2)) then booleanCLOCKEDOUT = True
next
if booleanCLOCKEDOUT = False then output date and UNIQUEID
next