Hi, I have a firebird table with a field called FOTO of BLOB Type 0, where I try to store a picture....
I want to stroe and retrieve it with SQL sentences...
I made a class with with a field called FOTO of type TBlobField..... so what I want to do is do an SQL Select, then
myclass_var.Foto:= select_result.FieldByName('foto').As???
and to store it?
UPDATE.... FOTO =' + QuotedStr(myclass_var.Foto.AsString)... ????

I also tried myclass_var.Foto.Assing(TBLOBFIELD(select_result.F ieldByName('foto'));
this compiles, but doesn't work......

So..... basicaly I want to know how to take out and store an image from a DB in a BLOB field use it, all with SQL Statements......

Thanks!!!!