请各路高手指教,关于ADO连接的问题!
klyh 2003-05-24 01:18:20 我作了一个三层系统,数据是Oracle,中间层用TADOConnection连接,客户端用TDCOMConnection连接中间层,用TClientDataSet进行数据传输,但是在执行下列查询时报错!
DataMudole.TClientDataSet.Active:=False;
DataMudole.TClientDataSet.CommandText:='Select distinct field1 from table1 where field2 in (select distinct field2 from table2 where 条件1) Order by field2';
DataMudole.TClientDataSet.Active:=True;//执行到这里出错
错误为:在获得新的之前,必须释放所有的Row句柄