Zum Hauptinhalt gehen

Suche

Suche

Way to link one Text Input Box to two different Embedded Data source?

Kommentare

1 Kommentar

  • Avatar
    Peter Thane

    You cant link two Data Sources to the same input box directly, you need to link one of the strings to the input box and then link the label field to the 2nd field.

    There are a few ways to achieve this and the simplest would be by making them both Named fields and the other by using the Object Value string type.

    For the 1st option you would need to go into the properties of the field and use the Change Data Source Name button to give the first field a name. Then for the second field use the same button in the field and select the name you chose from the list to link them together.

     

    The only issue with this is that the will match one another and so if you use Transforms on one field (eg to discard the last character for example) then this will also transform the second field too. In most instances this will not be an option but with dates this can be problematic as in the GS1 barcodes they need to be displayed in YYMMMDD format whilst in text objects they are usually displayed in a different order and often with separators. 

    In such instances it is then better to use the Object Value method to link them. For this add the text item date object to the label first in the format how you want it displayed and make sure to make a note of the Object Name, eg Text 2 as on the image below:

    To link this in the barcode, select the date substring and adjust the Type to Object Value and then select the correct object to link the strings together

     

     

     

     

     

     

     

     

    0

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