ADOTable2.Active:=True;
ADOTable2.Edit;
while not ADOTable2.Eof do
begin
ADOTable2.Delete;
ADOTable2.Next
end;
...全文
998打赏收藏
如何用adotable彻底删除ACCESS表中的记录
敬请各位高手指点哈,我要删除表中的所有记录,代码如下,但为什么删不完,总要剩几条?谢谢了! ADOTable2.Active:=True; ADOTable2.Edit; while not ADOTable2.Eof do begin ADOTable2.Delete; ADOTable2.Next end;