主题:求教
FOR i=1 TO i1+1
USE hz
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) TO a(1)
?a(1)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND 是否孤寡老="是" TO a(2)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND 住所状况="租用" TO a(3)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND 是否独生户="是" TO a(4)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND ldwk="是" TO a(5)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND 户口性质="农业户" TO a(6)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND 户口性质="非农户" TO a(7)
?xz(i,1), a(1),a(2),a(3),a(4),a(5),a(6),a(7),
USE sjtj
GATHER FROM a FIELDS hs,ggrs,zfh,dsh,ldrkh,nyh,czh
i=i+1
endfor
如果i1=3为什么,不执行xz(2,1)的内容呀,请高手帮助分析一下原因
USE hz
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) TO a(1)
?a(1)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND 是否孤寡老="是" TO a(2)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND 住所状况="租用" TO a(3)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND 是否独生户="是" TO a(4)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND ldwk="是" TO a(5)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND 户口性质="农业户" TO a(6)
COUNT FOR 乡镇信息=ALLTRIM(xz(i,1)) AND 户口性质="非农户" TO a(7)
?xz(i,1), a(1),a(2),a(3),a(4),a(5),a(6),a(7),
USE sjtj
GATHER FROM a FIELDS hs,ggrs,zfh,dsh,ldrkh,nyh,czh
i=i+1
endfor
如果i1=3为什么,不执行xz(2,1)的内容呀,请高手帮助分析一下原因