Subject | Re: [IBO] TIB_ColumnBlob |
---|---|
Author | Helen Borrie |
Post date | 2003-08-21T05:01:36Z |
At 05:45 PM 20/08/2003 -0700, you wrote:
a blob column from the database. If you have a query with a blob column in
it, then IBO has already created a TIB_ColumnBlob for it. All you have to
do is call the TIB_Column's LoadFromStream method, e.g.
with myDataset do
begin
FieldByName('MyBlobColumn').LoadFromStream(IMS);
end;
Assign should also work directly:
FieldByName('MyBlobColumn').Assign(IMS);
Helen
>I have a variable defined as TIB_ColumnBlob and assign the variable theA TIB_ColumnBlob can't exist self-contained - it has to be associated with
>blob field. But I get a compile time error when I try:
>
> lOptionValues.LoadFromStream(lMS);
>
>How can I load the value from a stream?
a blob column from the database. If you have a query with a blob column in
it, then IBO has already created a TIB_ColumnBlob for it. All you have to
do is call the TIB_Column's LoadFromStream method, e.g.
with myDataset do
begin
FieldByName('MyBlobColumn').LoadFromStream(IMS);
end;
Assign should also work directly:
FieldByName('MyBlobColumn').Assign(IMS);
Helen