Z
zjzhizhi
Unregistered / Unconfirmed
GUEST, unregistred user!
1。如何才能对adoquery控件的结果集进行update和delete??
以前用Tquery控件,有个requestlive属性可以设置,但adoquery控件没有啊。
2。adoquery控件的几个属性,该如何理解和应用??
locktype:
cursorloction
cursortype
3.(新增的),
出错代码:
with adoquery1 do
begin
close;
sql.clear;
sql.add('select * form table1');
sql.open;
first;
while not eof do
begin
showmessage('hi');
delete;
end;
end;
属性如下: 把locktype:=cluseclient
cursorloction:=Ctunspecitied
cursortype:=Itunspecitied
出错:
current Recordset does not suppport update.This may be a limitation of the
provider,or of the selected locktypel.
以前用Tquery控件,有个requestlive属性可以设置,但adoquery控件没有啊。
2。adoquery控件的几个属性,该如何理解和应用??
locktype:
cursorloction
cursortype
3.(新增的),
出错代码:
with adoquery1 do
begin
close;
sql.clear;
sql.add('select * form table1');
sql.open;
first;
while not eof do
begin
showmessage('hi');
delete;
end;
end;
属性如下: 把locktype:=cluseclient
cursorloction:=Ctunspecitied
cursortype:=Itunspecitied
出错:
current Recordset does not suppport update.This may be a limitation of the
provider,or of the selected locktypel.