Merging Data Into One Barcode
Hello, I'm new to bartender.
I want to create a label that prompts for data. I figured out how to do that and I have it asking production date, line #, run number and pallet number. I want to create barcode that pulls from the individual fields and makes one barcode, example; yymmdd-line#-run#-pallet#. Is there an easy way to do this?
Thanks
I want to create a label that prompts for data. I figured out how to do that and I have it asking production date, line #, run number and pallet number. I want to create barcode that pulls from the individual fields and makes one barcode, example; yymmdd-line#-run#-pallet#. Is there an easy way to do this?
Thanks
0
-
Hi, I'm also a newbie here. I just want to share since this might be something you're looking for.
Here's what we do to concatenate the fields:
1. Create a field
2. Set data source as "Visual Basic Script" and the type as "Multi-line Script"
3. Click Edit. Then you can have something like this:
val1 = Format.Objects("Field1").Value
val2 = Format.Objects("Field2").Value
val3 = Format.Objects("Field3").Value
val4 = Format.Objects("Field4").Value
Value = val1 + "-" + val2 + "-" + val3 + "-" +val40 -
It's easier if you just create multiple data sources (A.K.A. sub-strings) for the barcode object. 0
Please sign in to leave a comment.
Comments
2 comments