连续两次用
"SET SAFETY off
CLOSE TABLES
USE e:\ab679911
dime n(FCOUNT())
FOR i=1 TO FCOUNT()
n(i)=FIELD(i)
endf
SELECT SUM(&n(1).) &n(1).,SUM(&n(2).) &n(2).,SUM(&n(3).) &n(3). FROM e:\ab679911 into curs temp
copy to e:\8998 type xls"
她会现"e:\ab679911正在使用"
谢谢!