Skip to main content

Search

Search

Convert Data On Internal Code And Add A Serial Number

Comments

3 comments

  • Avatar
    Ian Cummings
    Moderator

    Break up the component parts of the value into separate data sources.  For the first, year code, use a VB script with something like the below expression:

     

    Chr(DatePart("yyyy",Date)-1949)

     

    The same sort of thing cane be done for the month:

     

    Chr(DatePart("m",Date)+64)

     

    For the serial number, using an embedded data source value, you can set it up under the "Transforms" tab serialization option.

    0
  • Avatar
    Legacy Poster

    Manymthanks for your help.

     

    Now i have two Reference data source and i need transform on only one and start serialization is possible? i need put this in Prefix?

     

    Many thanks.

    0
  • Avatar
    Ian Cummings
    Moderator

    Don't use the prefix transform, just create and use a separate data source for each component part.

    0

Please sign in to leave a comment.