Subject | Copying blob to another database |
---|---|
Author | Guilherme Luiz Lanius |
Post date | 2015-10-07T15:12:37Z |
I'm copying data from one database to another using TIB_Query.
this code used to work on past versions of IBO, now it's not working.
The destination database get a null field, instead of image data... all
other field types work just fine
Code:
if Qry1.FieldByName('F1').IsBlob then
Qry2.ParamByName('P1').AsString := Qry1.FieldByName('F1').AsString
IsBlob is working...
tryed to use .AsRawString, .Value, .SaveToFile and .LoadfromFile, but
same results.
Any other ideas? I'm using Delphi 7 and IBO 5.7.5 2275
Thanks.
this code used to work on past versions of IBO, now it's not working.
The destination database get a null field, instead of image data... all
other field types work just fine
Code:
if Qry1.FieldByName('F1').IsBlob then
Qry2.ParamByName('P1').AsString := Qry1.FieldByName('F1').AsString
IsBlob is working...
tryed to use .AsRawString, .Value, .SaveToFile and .LoadfromFile, but
same results.
Any other ideas? I'm using Delphi 7 and IBO 5.7.5 2275
Thanks.