程序中有若干文本框,我试图用循环的方式,将其值一一加入一个表中,如何以变量的方式改变text的后缀值,如将其由text1,该改变为text2......textn,请高手指教,谢谢!
------解决方案--------------------------------------------------------
------解决方案--------------------------------------------------------
楼主的意思是想将TEXT的值加入数据表中
STORE "" TO I2,I3
FOR I=1 TO FCOUNT()
I1="TEXT"+TRANSFORM(I)
I2=I2+"THISFORM.&I1..VALUE"+IIF(I<FCOUNT(),",","")
I3=I3+"(FIELD("+TRANSFORM(I)+"))"+IIF(I<FCOUNT(),",","")
ENDFOR
INSERT INTO TABNAME (&I3) VALUES (&I2)