dm.ClientDataSet7.Close;
dm.ClientDataSet7.CommandText:='select * from Yl_xx_userinf';
dm.ClientDataSet7.Open;
有两个窗体每次运行到这里就出错,数据类型不支持
其它窗体没问题,不只到位什莫
dm.ClientDataSet7.CommandText:='select * from Yl_xx_userinf';
dm.ClientDataSet7.Open;
有两个窗体每次运行到这里就出错,数据类型不支持
其它窗体没问题,不只到位什莫
username(varchar2(18))
vvernumber(varchar2(8))
newfile(blob)
只有这四个字段,数据库是oracle
不选这个字段试试
select语句区其他字段没问题
区这个字段就报错,怎莫办
这个字段是存可执行文件的
建议你在定位到某个记录时再到数据库中去取这个值,这是没办法的办法!
但是又有新的问题了
dm.ClientDataSet9.Close;
dm.ClientDataSet9.CommandText:='';
dm.ClientDataSet9.CommandText:='select xh,newfile from yL_XX_userinf';
dm.ClientDataSet9.Open;
dm.ClientDataSet9.Edit;
mystream := TMemoryStream.Create;
mystream.loadfromfile(GetCurrExeDIR+'TCKWJ_YL.exe');
mystream.seek(0,soFromBeginning);
UpdataNewFile.LoadFromStream(myStream);//在这里又出错了不能加载进数据库
dm.ClientDataSet1.FieldByName('VerNumber').asCurrency := (VerServer+0.1);
dm.ClientDataSet1.ApplyRange;