ADOQUER中 SQL insert 的问题。
ptpa 2003-11-30 11:53:58 这段代码的错误是什么?怎么改?
with ADOQuery1 do
begin
Active:=false;
ConnectionString:='Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\My Documents\tongji.mdb;Persist Security Info=False';
with SQl do
begin
Clear;
Add('INSERT INTO jieyue(A,B)');
Add('VALUES(:Bid,:Bname)');
end;
Active:=true;
end;
错误提示:
Current provider does not support returining multiple recordsets from a single execution
adoquery1: CommandText does not return a result set
怎么改?