select distinct * from table into cursor cursa use in table use table excl zap append from dbf('cursa') use in table use in cursa
>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 cursa>Now you have a table with no duplicate records. The next thing is arranging the app to not allow duplicates to be created.