>Cust_id >------- >00001 >00001 >00001 >00002 >00003 >00002 >>
Use myCust.dbf exclusive select Cust_ID from myCust group by Cust_ID into table MyTempCust if _tally > 0 zap in myCust insert into myCust select * from myTempCust endif delete file MyTempCust.dbf catch to loException && Handle it here endtry