Zum Hauptinhalt gehen

Suche

Suche

Change Date format for GS1 barcode

Kommentare

3 Kommentare

  • Avatar
    Peter Thane

    I no longer have access to 2016 and cant remember if this option was included in there (see below) although you would still need to link the PackDate to this via VB to then apply the offset I think.

     

    As you have already named PackDate then for the text field leave the VB as is it but then for the barcode element make this a VB script string too and add in the same code as the text field.

    After you have come out of the VB screen then click on the Data Type and adjust the type to Date. I cannot recall if the Locale: Use GS1 formats options was present in 2016, but if not scroll down the various date display options until you get to Custom and then in the Pattern box amend the entry to yyMMdd and then you should get something like the image below.

    I hope this helps.

     

     

    0
  • Avatar
    Nipe kangas

    So you are looking for something like this then?

    This has been done by using a clock object and two object values. Upper date is a clock that uses date as data type and 2 other are object values with dates as their data type.

    object Expdate has been offset by 16 days

    and the barcode has also a object value that looks at packdate and has been offset by 16 days also. 

     

    0
  • Avatar
    Peter Thane

    Yep, that would work too as long as you can apply the offset after the Data Entry value for the PackDate has been chosen. As I said above I cant remember when this option was added as older versions of BarTender to did not have this. 

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.