X
xiaolongmao
Unregistered / Unconfirmed
GUEST, unregistred user!
在beforeprint写上:var jpfile:tjpegimage;begin JPFile:=TJpegImage.Create; if FileExists('temppic.jpg') then deletefile('temppic.jpg'); if not adoquery1.fieldbyname('IMAGE1').IsNull then begin JpFILE.Assign(adoquery1.fieldbyname('IMAGE1')); JpFILE.SaveToFile('temppic.jpg'); qrImage1.Picture.LoadFromFile('temppic.jpg'); end else qrImage1.Picture.Assign(nil); JpFILE.FREE; QuickRep1.Refresh; QuickRep1.Update;这样打印出来的图片都是一模一样的。哪里写错了呢?