Vb & Shared Data Sources Bug In Barcode ? Follow
Hi Seagull, hopefully you'll tell me I'm doing something elementary wrong
Ok, so I need to print a quantity in a text field with no leading zeros but this value also needs to be contained in a Code128 barcode with padding leading zeros to six characters & this then concates/is appended to a leading letter Q
I added the field as prompted text & named it Quantity
I created a non printing text field using as source a VB Script - Format.NamedSubStrings("Quantity").Value. This was padded with leading zeros to 6 characters & called it Qty_With_Pad
With the field now padded I added the barcode. Again using a VB field leading with a Q & the Qty_With_Pad following - "Q"+Format.NamedSubStrings("Qty_With_Pad").Value
I've added the human readable although this isn't required on the label.
All looks good - Until I scan the barcode. The barcode scan does not correspond with the human readable.
If I were to use just the original prompted text field padded with zeros in my barcode VB script it works. There seems to be an issue if I use the original field in a VB script to pad & then use this in another VB script for the barcode.
Unless of course I'm missing something ???
Fernando Ramos MiracleModerator
Please sign in to leave a comment.