The full error is: IB-native IN-parameter value create failed. Position 1. Write BLOB: User storage-object works incorrectly
I'm using D2009 with the trial LCPI OLE DB Provider for Interbase [v3][RC4] and FireBird 2.5.
I'm trying to move data from a Paradox table containing an image ftBlob field via a TADOQuery connected to FireBird which has a BLOB SUB_TYPE 0 field defined.
I get the above error on the image field when trying to post the record.
The ADOQuery SQL is simply SELECT * FROM MyTableName WHERE 0 = 1 and it does an Append, Post for each record.
To assign the image data I've tried: DestField.AsBytes := SourceField.AsBytes DestField.AsString := SourceField.AsString DestField.Assign(SourceField)
How can I get the image from the Paradox table into the ADOQuery and update the FB table please?
Using Delphi 2009 and IBProvider Verion 7446 (the latest) using the ADOQuery component to insert into a Firebird 2.1.X database, I get this error. My ADOQuery is something like: INSERT INTO <mytable> ( f1, f2..., fn) VALUES ( :f1, :f2 ..., :fn)
One of the fields is a BLOB.
To insert, I use: MyADOQuery.Parameters.ParamByName('<fn>').Value := MyAdoSourceQuery.FieldByName('<fn>').Value