回复 10楼 吹水佬
谢谢!我使用错误哈,哈哈^_^
程序代码:
CREATE CURSOR _result (aaff I, abff I, acff I) APPEND BLANK cmd = "" for xks = 0 to 2 cmd = cmd + "," + substr([aa,ab,ac,ad],3*xks+1,2) + "ff=" + TRANSFORM(xks) ENDFOR cmd = "UPDATE _result SET " + SUBSTR(cmd,2) EXECSCRIPT(cmd) SELECT * FROM _result