H
hamang
Unregistered / Unconfirmed
GUEST, unregistred user!
access用ole字段
with TFileStream.Create(FileName,fmOpenRead) do
try
SetLength(Str,Size);
Read(Pointer(Str)^,Size);
finally
Free;
end;
Query1.FieldByName('oldField').asstring:=Str;
然后用临时query insert,
重新open query1,读取数据出错,但用post保存,数据没问题,这是什么原因?
with TFileStream.Create(FileName,fmOpenRead) do
try
SetLength(Str,Size);
Read(Pointer(Str)^,Size);
finally
Free;
end;
Query1.FieldByName('oldField').asstring:=Str;
然后用临时query insert,
重新open query1,读取数据出错,但用post保存,数据没问题,这是什么原因?