Bundle Printing Help
I am bundling parts together so I need to the labels to be serialized by bundles example if the print qty was 10 and my bundles are always 4. I would need 3 labels to print and 4,8 and 10 (4 of 10, 8 of 10 and 10 of 10) to print on my serialized barcode. if the qty was 11 and bundle qty was 4 I would need 4,8,11. I can get the correct number of labels by using round("fieldname"/4)+.4) but am having problems getting the serialization to work. any help would be great.
I am using bartender 9.1 right now
Brandon
-
As the serial number increase is not equal for all labels (the last one has a different increase), you will need to use an event based VBScript (Event Control Script) in order to calculate your serial number. You will mainly need to put some code under "OnAutoSelectedEvent" and on "OnSerialize" events, making sure that the serial number is increased according to the value of the bundle qty.
0 -
I got it like this
On new record. If value <=4 then
Value = "qty"
Else value = 4
End if
I increment it by 4
I created a hidden field that started with qty of labels to print and decrement by one each label
Then on serialize labels
If decremented qty = 1 then
Value = quantity
End if
So on the last label it will display the 10 of 10 or whatever
I tried to do it without creating another field like this
On serialize:
If value >= qty then
Value = quantity
End if
But for some reason it would not work but it does the other way
Thank you for your help
Brandon0 -
I take it that you don't need further help?
Otherwise, please attach your BarTender document (and database file if you're reading variable data from a database) by using the "More Reply Options..." button.
0
Please sign in to leave a comment.
Comments
3 comments