select distinct * from table into cursor cursa if !used('table') use table excl zap append from dbf('cursa') else use in table use table excl zap append from dbf('cursa') endif use in table use in cursaNow you have a table with no duplicate records. The next thing is arranging the app to not allow duplicates to be created.