Subject | Save BLOB Data to Stream |
---|---|
Author | dp076 |
Post date | 2003-12-18T18:40:53Z |
Hello,
Could you please give me an idea how to save BLOB data from, say,
IB_Query to, say, TFileStream?
I'd like to do something like that:
if MyQuery.Fields [I].IsBlob then begin
TBLobField (MyQuery.Fields [I]).SaveToStream (BLOBFileStream);
end;
The problem is that Fields [I] is IB_Row, not TBlobStream, and I
couldn't find the appropriate method to do this easily.
Looking forward for your help.
Thank you,
dp076
Could you please give me an idea how to save BLOB data from, say,
IB_Query to, say, TFileStream?
I'd like to do something like that:
if MyQuery.Fields [I].IsBlob then begin
TBLobField (MyQuery.Fields [I]).SaveToStream (BLOBFileStream);
end;
The problem is that Fields [I] is IB_Row, not TBlobStream, and I
couldn't find the appropriate method to do this easily.
Looking forward for your help.
Thank you,
dp076