If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > store and retrive interbase image blob

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-24-05, 21:04
diegolaz diegolaz is offline
Registered User
 
Join Date: Feb 2004
Location: Argentina
Posts: 54
store and retrive interbase image blob

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!!!!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On