HI,
I try to understand how to use correctly the DOA component.
I have a TOracleDataset (MySelectBLOB) which includes a BLOB Field (It is useful to work with a TDatasource)
I have also a TOracleQuery (InsertMyBlob) which is used to insert the selected blob of MySelectBLOB in another table;
To realize this, here are what I do :
//Insert into mytable(thekey, theblob)
//Values
MYKEY, empty_blob());
//Returning theblob INTO :MYBLOB
InsertMyBlob.SetVariable('MYKEY', 1);
LOB := TLOBLocator.Create(InsertMyBlob.Session, otBlob);
InsertMyBlob.SetComplexVariable('MYBLOB', LOB);
InsertMyBlob.ExecSql;
and now...problem..I can't do this :
LOB := MySelectBLOB.LOBField('theblob');
because the LOBField is a method of the TOracleQuery.
How is it possible to do ?
Thank's
I try to understand how to use correctly the DOA component.
I have a TOracleDataset (MySelectBLOB) which includes a BLOB Field (It is useful to work with a TDatasource)
I have also a TOracleQuery (InsertMyBlob) which is used to insert the selected blob of MySelectBLOB in another table;
To realize this, here are what I do :
//Insert into mytable(thekey, theblob)
//Values

//Returning theblob INTO :MYBLOB
InsertMyBlob.SetVariable('MYKEY', 1);
LOB := TLOBLocator.Create(InsertMyBlob.Session, otBlob);
InsertMyBlob.SetComplexVariable('MYBLOB', LOB);
InsertMyBlob.ExecSql;
and now...problem..I can't do this :
LOB := MySelectBLOB.LOBField('theblob');
because the LOBField is a method of the TOracleQuery.
How is it possible to do ?
Thank's