Subject Re: [IBO] Blob-jpeg issues
Author mp527 <mp527@yahoo.com>
I think this would work also, and maybe a bit better since you are
freeing the blobstream after you are finished with it in a
try..finally

var
datstream:tstream;
{your query stuff here}
datstream:= CreateBlobStream(myQuery.FieldByName('PIC'), bsmRead);
try
datstream.position:=0;
jpg.LoadFromStream(datstream);
finally
freeandnil(datstream);
end;


Tony



>
> Yer right! Try this:
>
> myQuery.FieldByName('PIC').AssignTo (jpg);
>
> Helen