wiht adodataset do
begin
active:=false;
commandtext:='delete from content where assort=:temp';
Parameters.ParamByName('temp').Value:=nodestring;
active:=true;
end;
当前提供程序不支持从单一执行返回多个记录集
出现这样的提示 用的ACCESS数据库 为什么不能一下删除多条记录呢
加了execsql后运行显示undeclared identifier‘execsql’
都执行不过去
begin
active:=false;
commandtext:='delete from content where assort=:temp';
Parameters.ParamByName('temp').Value:=nodestring;
active:=true;
end;
当前提供程序不支持从单一执行返回多个记录集
出现这样的提示 用的ACCESS数据库 为什么不能一下删除多条记录呢
加了execsql后运行显示undeclared identifier‘execsql’
都执行不过去
//删除语句是不返回数据集的
ADODataSet1.Frist;
while not ADODataSet1.Eof do
begin
ADODataSet1.Delete;
ADODataSet1.next;
end;
好象是.Execute,找一下,另外,可先指定TADOCOMMAND的COMMANDTYPE书行为没有记录返回