Subject | Re: [IBO] Assign a blob id to TIB_Column |
---|---|
Author | Jason Wharton |
Post date | 2003-01-06T16:53:05Z |
I don't have any samples on hand and I don't have time these days to put one
together real quick considering the backlog I have on more critical things.
If you look in the source code you will see how I do it. There are some
routines that are generic that should help you if you trace things through
and dissect it all.
Study the TIB_Column and TIB_BlobColumn classes and this should help a lot.
There are also some blob related methods/functions in the IB_Session.pas
unit.
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
together real quick considering the backlog I have on more critical things.
If you look in the source code you will see how I do it. There are some
routines that are generic that should help you if you trace things through
and dissect it all.
Study the TIB_Column and TIB_BlobColumn classes and this should help a lot.
There are also some blob related methods/functions in the IB_Session.pas
unit.
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: "Maik Wojcieszak" <mw@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, January 06, 2003 6:30 AM
Subject: Re: [IBO] Assign a blob id to TIB_Column
> Jason,
>
> can you give me a little example ?
>
> What do you mean with SQLData - maybe the property
> ColData ? - What is meant by binary based string in the help ?
>
> The TIB_ColumnBlob component provides a property BlobId
> but it is read only ? - How can I assign my blob id ?
>
> thanks
> maik
>
> On Fri, 27 Dec 2002 13:00:27 -0700, Jason Wharton wrote:
>
> >You can write it into the SQLData of the column.
> >Take a look at the IBA_Column.??? and IBA_BlobColumn.??? files.
> >
> >Regards,
> >Jason Wharton
> >CPS - Mesa AZ
> >http://www.ibobjects.com
> >
> >-- We may not have it all together --
> >-- But together we have it all --
> >
> >
> >----- Original Message -----
> >From: "Maik Wojcieszak" <mw@...>
> >To: <IBObjects@yahoogroups.com>
> >Sent: Friday, December 27, 2002 5:08 AM
> >Subject: [IBO] Assign a blob id to TIB_Column
> >
> >
> >> Hi,
> >>
> >> I have to wrote my own function based on api level calls to write blob
> >> data into a database.
> >>
> >> My function returns a blobid (ISC_QUAD).
> >> How can I Assign this blob id to a TIB_Column to use it in
> >> an DSQL statement ?
> >>
> >> thanks,
> >> maik