Subject RE: [IBO] Blob problems
Author Jason Wharton
> So how do I change this line?
>
> frmA.imgA.Picture.Assign(TBlobField(DM.qryRead.FieldByName('HE
> ADER')));
>
> frmA (TForm)
> imgA (TImage)
> qryRead (TIB_Query)
> HEADER is a blob
>
> I tried with this:
>
> frmA.imgA.Picture.Assign(DM.qryRead.CreateBlobStream(DM.qryRea
> d.FieldByName('HEADER'),
> bmRead)));
>
> But I got incompatible types error: TIB_BlobStreamMode and
> TBlobStreamMode.
>
> // Johan

frmA.imgA.Picture.Assign(
DM.qryRead.CreateBlobStream( DM.qryRead.FieldByName('HEADER'),
bsmRead)));

HTH,
Jason Wharton