Use 表 If Type("表.Kmx1")!="U" And Type("表.Kmx1")="N" If Iif(Afields(A)>0,A(Ascan(A,"KMX1")+2),0)!=16 && 字段名如果是英文,一定要大写 Alter Table 表 Alter Kmx1 N(16) Modify Structure Endif Endif