Subject | Re: [IBO] IB_Query.FieldByName(). and IB_Query.ParamByName(). -SaveToStream() -LoadFromStream() ? |
---|---|
Author | Arno Brinkman |
Post date | 2003-04-02T21:39:10Z |
Thanks Luiz,
Arno
""Luiz"" <cprmlao@...> schreef in bericht
news:018401c2f95b$9dc37dd0$0a0aa8c0@......
Arno
""Luiz"" <cprmlao@...> schreef in bericht
news:018401c2f95b$9dc37dd0$0a0aa8c0@......
> Arno,___________________________________________________________________________
>
> ----- Original Message -----
> From: "Arno Brinkman" <firebird@...>
> > var
> > PICTField:TIB_Column;
> > begin
> > PICTField := TIB_ColumnBlob( qry.FieldByName( 'FOTO' )); <===
> > tb := cr.CreateBlobStream(PICTField,bsmread); <===
> > try
> > with MyBitMap do begin
> > LoadFromStream(tb);
> > end;
> > finally
> > tb.free;
> > end;
> > end;
> >
> > PICTField is just an cast ?
> Yes, but you can use directly qry.FieldByName( 'your_column' )
>
> > What is cr ?
>
> My error. Where you read cr read then qry(your query).
>
>
>
>
>
>
> IB Objects - direct, complete, custom connectivity to Firebird orInterBase
> without the need for BDE, ODBC or any other layer.___________________________________________________________________________
>
> http://www.ibobjects.com - your IBO community resource for Tech Infopapers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>