Subject | Re: [IBO] IB_Query.FieldByName(). and IB_Query.ParamByName(). -SaveToStream() -LoadFromStream() ? |
---|---|
Author | Luiz |
Post date | 2003-04-02T20:28:17Z |
Arno,
Something as:
var PICTField:TIB_Column;
PICTField:= TIB_ColumnBlob( qry.FieldByName( 'FOTO' ));
tb:=cr.CreateBlobStream(PICTField,bsmread);
try
with MyBitMap do begin
LoadFromStream(tb);
end;
finally
tb.free;
end;
Luiz
Something as:
var PICTField:TIB_Column;
PICTField:= TIB_ColumnBlob( qry.FieldByName( 'FOTO' ));
tb:=cr.CreateBlobStream(PICTField,bsmread);
try
with MyBitMap do begin
LoadFromStream(tb);
end;
finally
tb.free;
end;
Luiz
----- Original Message -----
From: "Arno Brinkman" <firebird@...>
> Hi,
>
> I must miss something here. How can i LoadFromStream and SaveToStream on
> blobs with TIB_Query ? Or should i use another component / methods for
this
> ?