var
j : TJpegImage;
a : TBlobStream;
begin
J := TJPEGImage.Create;
a := TBlobStream.Create(TBlobField(customerdata.photocds.FieldByName('Photo')), bmRead);
try
J.LoadFromStream(a);
Image1.Picture.Assign(J);
finally
a.Free;
j.free;
end ;end;
j : TJpegImage;
a : TBlobStream;
begin
J := TJPEGImage.Create;
a := TBlobStream.Create(TBlobField(customerdata.photocds.FieldByName('Photo')), bmRead);
try
J.LoadFromStream(a);
Image1.Picture.Assign(J);
finally
a.Free;
j.free;
end ;end;
换上你的代码也一样,浏览没有问题,打印图没有了,且有时还能打出图来??真是怪事