ThomasLewis Posted January 18, 2012 Share Posted January 18, 2012 Is there any way to get this to work in OnRecordStart? var DataToEncode = "My string"; var EncodingMode = "Byte"; var ErrorCorrectionMode = "Q"; var PreferredFormat = "0"; var ProcessTilde = false; r = Resource(MakeQRBarcodeGraphic(DataToEncode, ProcessTilde, EncodingMode, ErrorCorrectionMode, PreferredFormat)); FindGraphicFrame("qrframe").SetGraphic(r); It returns the error "no resource named Resource("Generated QR Barcode"). Link to comment Share on other sites More sharing options...
Dan Korn Posted January 18, 2012 Share Posted January 18, 2012 Is there any way to get this to work in OnRecordStart? No, sorry, this won't work. You need to create a Graphic rule which returns the call to the MakeQRBarcodeGraphic function (without the extra call to the Resource function), and assign that rule to the graphic frame. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.