跳到主内容

搜索

搜索

Bundle Printing Help

评论

3 条评论

  • Avatar
    Domingo Rodriguez
    版主

    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
  • Avatar
    Legacy Poster
    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

    Brandon
    0
  • Avatar
    Domingo Rodriguez
    版主

    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

请先登录再写评论。