是这样吗
CREATE CURSOR kk1 (cb c(20),xm c(20))
INSERT INTO kk1 VALUES ("东庄","张三")
INSERT INTO kk1 VALUES ("南庄","李四")
INSERT INTO kk1 VALUES ("西庄","王五")
INSERT INTO kk1 VALUES ("北庄","陈七")
CREATE CURSOR kk2 (cb c(20),xm c(20))
INSERT INTO kk2 VALUES ("西庄","王五")
INSERT INTO kk2 VALUES ("东庄","张三")
SELECT * FROM kk1 WHERE cb+xm NOT in (SELECT cb+xm FROM kk2) INTO CURSOR kk_tmp
SELECT kk1
ZAP
APPEND FROM DBF("kk_tmp")
BROWSE