如何在vb 中清空dbf 表中的数据(物理清除) ( adodc +gride+.dbf)
在vb 中,用adodc控件连接一个dbf表,清空表的所有数据用Adodc1.Recordset.Delete 一条一条的删太慢了,
请给小弟一个详细的方法
--------------------编程问答-------------------- 先drop table
再create table
--------------------编程问答-------------------- 能不能再详细点。
我用这个办法太慢了
Adodc1.Recordset.MoveFirst
While Not Adodc1.Recordset.EOF
Adodc1.Recordset.Delete
Adodc1.Recordset.MoveNext
Wend
--------------------编程问答-------------------- 用SQL语句一句话就行了
delete from tableName --------------------编程问答-------------------- 没遇到过这种情况. --------------------编程问答-------------------- 不会,帮顶
补充:VB , 数据库(包含打印,安装,报表)