Subject | RE: [IBO] Blob problems |
---|---|
Author | Jason Wharton |
Post date | 2008-02-01T05:22:30Z |
> So how do I change this line?frmA.imgA.Picture.Assign(
>
> 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
DM.qryRead.CreateBlobStream( DM.qryRead.FieldByName('HEADER'),
bsmRead)));
HTH,
Jason Wharton