Subject | Re: [ib-support] Blob Field |
---|---|
Author | Lauri Zoova |
Post date | 2003-01-05T17:32:57Z |
Jack Cane wrote:
You are inserting a string. You need to insert the contents of the file,
not your current path.
Since you are using delphi then try something like this -
IBDataSetBLOBFIELD.LoadFromFile(OpenPictureDialog1.FileName)
BR,
Lauri
> Thomas,:)
>
> Hier ist das snippet:
>
> insert into ResGraphs ( setupNo, ph1Graph ) values ( 1,
> 'd:\multimedia\pictures\signature.bmp' );
You are inserting a string. You need to insert the contents of the file,
not your current path.
Since you are using delphi then try something like this -
IBDataSetBLOBFIELD.LoadFromFile(OpenPictureDialog1.FileName)
BR,
Lauri