Subject Re: [ib-support] Re: working with blobs in delphi
Author Helen Borrie
At 10:33 AM 28-01-02 +0000, you wrote:
>>>>>> On Thu, 17 Jan 2002 08:58:16 +0000 (UTC),
>helebor@... (Helen
>Borrie) said:
>
> HB> In Firebird, you can input a string to a blob column, which
> HB> solves a lot of problems. (It will be even cooler when you
> HB> can stream blobs back and forth from external files...but not
> HB> today).
>
>Could you elaborate on this? I was trying to accomplish exactly that:
>I'd like to store a pathname inside a table, and be able to treat it
>as an image blob, for example. My first cut at the function gave me a
>"message length error"...

Lele,
At the time I made this comment, it was just wishful thinking...but...
are you writing a UDF in Delphi to attempt this? i.e. pass a path string as argument to the Delphi function, have it pick up the file in a TStream and assign that stream to a blob which it then returns from the UDF function call for storing in Blob_type 0? Shouldn't that work?

regards,
Helen


All for Open and Open for All
Firebird Open SQL Database ยท http://firebirdsql.org
_______________________________________________________