SELECT * from rkzb20180920 INTO dbf rkzb201809
FOR i =1 TO 5 FOR j=1 TO 6 zdmc='zhou'+STR(i,1)+STR(j,1) REPLACE &zdmc. WITH '' FOR&zdmc.<>'科学' ENDFOR
ENDFOR
COPY FILE rkzb20180920.dbf TO rkzb201809.dbf
LOCAL I,J,X
USE rkzb201809.dbf IN 0
FOR I=1 TO 5 FOR J=1 TO 6 STOR "ZHOU"+STR(I,1,0)+STR(J,1,0) to X REPLACE ALL &X WITH "" FOR &X # "科学" ENDFOR
ENDFOR
BROWSE