with clientdateset1 do
begin
tmpstr := 'select * from gl_xmzl where xmdm='+''''+trim(editdm.text)+''''+' and gsdm='+''''+gszGsdm+'''';
dataRequest(tmpstr);
open;
...
close;
tmpstr := 'select * from www_xmzl_2 where xmdm='''+trim(editDm.text)+''' and gsdm='''+gszGsdm+'''';
dataRequest(tmpstr);
open; //在这里报错 Error Creating Cursor Handle
end;
如果事先不用close数据源就不会更新。请问问题出在哪里?
begin
tmpstr := 'select * from gl_xmzl where xmdm='+''''+trim(editdm.text)+''''+' and gsdm='+''''+gszGsdm+'''';
dataRequest(tmpstr);
open;
...
close;
tmpstr := 'select * from www_xmzl_2 where xmdm='''+trim(editDm.text)+''' and gsdm='''+gszGsdm+'''';
dataRequest(tmpstr);
open; //在这里报错 Error Creating Cursor Handle
end;
如果事先不用close数据源就不会更新。请问问题出在哪里?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货