Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Problems with ORACLE BLOB Fields and Delphi
Hello.
I have a problem with ORACLE 7.3.2.2.1 and Delphi 2.0 C/S. The connection
between
client program and database server works fine. Now I have tried to store
binary data
(e.g. images) in an ORACLE Blob Field. This seems to work. But when I try to
load the
image from the database and store it on harddisk, the begining is missing.
The rest of
the file is O.K. (I checked it with a Hex-Editor). Here is the code:
procedure TForm1.Save; //Save imageinto database
Table1.Edit; Table1Gfx.LoadFromFile ('mypic.bmp'); Table1.Post;
procedure TForm1.Load; //load imagefrom database
Table1.Edit; Table1Gfx.SaveToFile(Name); Table1.Post;
Thank you
Frank Geisler Received on Fri May 22 1998 - 11:54:52 CDT
![]() |
![]() |