W
wyf3wd0
Unregistered / Unconfirmed
GUEST, unregistred user!
filename:='SELECT khmc,xm,dh,sj,dz into J_tmp FROM [excel 8.0;database='''+edit2.text+'''].['+trim(edit3.Text)+'$]';IN "D:/book1.xls " "EXCEL 5.0; " ';with qtmp dobeginclose;sql.clear;sql.Add(filename);execsql;end;qtmp是变量,edit2是excel文件名,edit3是sheet1运行后提示:不能更新,数据库或对象只读。请高手指教,谢谢