n1="X"
FOR J=1 TO 12
IF EVALUATE(FIELD(J))>1500
UPDATE 表2 SET X2=&n1+allt(str(j)),X3=&n1+allt(str(j+1)),.....&&语法错误
ENDIF
FOR J=1 TO 12
IF EVALUATE(FIELD(J))>1500&& 应该是VAL(FIELD())
UPDATE 表2 SET X2=EVALUATE(FIELD(J)),X3=EVALUATE(FIELD(J+1)) &&替换的全部是空白记录
ENDIF