T tangbow Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-12 #1 我想按下一个按钮,就清空一个数据表,但是不删除表本身,我用query.sql.add('delete from table') 表是清空了,可程序提示出错, 麻烦你了
J jqw Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-12 #2 try .. execsql; // except // end; or emptytable??
F flintsoft Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-12 #3 执行sql语句 truncate table xxxxxxx
李 李清红 Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-12 #8 query.close; query.sql.add('delete * from table') query.ExecSQL 这样应该可以吧?