L
leijh001
Unregistered / Unconfirmed
GUEST, unregistred user!
在客户端通过ClientDataSet连接到服务端的query,
with query1do
begin
close;
sql.clear;
tempstr:='select bumeng,name,bianhao,password,authority,sn ';
tempstr:=tempstr+'from operator ';
tempstr:=tempstr+'where bianhao=''';
tempstr:=tempstr+UserName+''' and password='''+Password+'''';
sql.add(tempstr);
Open ;
当执行到客户端的ClientDataSet.Open时,就出现error creating cursor handle 错误提示,
把Open改成ExecSQL也一样,query1有数据返回。请问各位如何解决?
with query1do
begin
close;
sql.clear;
tempstr:='select bumeng,name,bianhao,password,authority,sn ';
tempstr:=tempstr+'from operator ';
tempstr:=tempstr+'where bianhao=''';
tempstr:=tempstr+UserName+''' and password='''+Password+'''';
sql.add(tempstr);
Open ;
当执行到客户端的ClientDataSet.Open时,就出现error creating cursor handle 错误提示,
把Open改成ExecSQL也一样,query1有数据返回。请问各位如何解决?