嘿嘿
授人以渔,不授人以鱼。
SET DELETED OFF USE a.dbf ALIAS aa IN 0 USE b.dbf ALIAS bb IN 0 SELECT aa RECALL ALL INDEX ON num TAG num SELECT bb RECALL ALL SET RELATION TO num INTO "aa" SCAN IF FOUND("aa") DELETE IN "bb" DELETE IN "aa" ENDIF ENDSCAN SET RELATION TO BROWSE SELECT aa BROWSE