Zum Hauptinhalt gehen

Suche

Suche

Serialization

Kommentare

5 Kommentare

  • Avatar
    Xabier Clemente
    Moderator

    Hello Paul,

    Thank you for reaching us via the Community Forums!

    The way of maintaining a set number of characters during serialization is by selecting the "Preserve the number of characters" box in the Serialization tab:



    This way, if you have 3 characters, it will treat the serialization as a 001 to 999 matrix, getting rid of the extra zeroes accordingly.

    I hope this helps!

    0
  • Avatar
    Paul Munro

    The method is set as Numeric as where the copies per serial number come from a database which is 1,2,3....

    If I set the method to Alphabetic and / or Numeric the serial number does not increment (remains static) with each record.

    0
  • Avatar
    Xabier Clemente
    Moderator

    Hi again Paul!

    What we could do in this case, is set up two other data sources with "Text" datatypes as individual "0" and have your serialized data source "1" be a Named Data Source, so we can conditionally suppress the other data sources depending on the serialized data source count.

    • We should begin selecting the "1" data source and selecting a name for it (in my example I have called it "secondZero":




    • Now, let's create two other regular data sources and have these as regular text zeroes:




    • Once these other data sources containing zeroes are created, if we select these and navigate to the "Suppresion" tab, we should be able to conditionally select when we want these zeroes to disappear, in our case, we want them to be suppressed when "secondZero" is greater than ' and greater than 99:






    • And that should be it! If we now serialize to higher sums than 100, we should only have the three desired characters:




    I hope this does the trick for you! If not, please feel free to reach us again! :)

    0
  • Avatar
    Paul Munro

    Worked a treat, many thanks

    0
  • Avatar
    Xabier Clemente
    Moderator

    You are welcome! 

    Have a great weekend! :)

    0

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