procedure TQuickReport1.QRBand1BeforePrint(Sender: TQRCustomBand; var PrintBand: Boolean); begin BarCode1.BarCode:=QRDBText1.DataSet.FieldByName('KOD').AsString; QRImage1.Picture.Bitmap.Assign(BarCode1.Bitmap); end;