Skip to main content

Search

Search

Move Other Object When Size Of Object Next To It Has More Then 2 Characters

Comments

2 comments

  • Avatar
    Permanently deleted user

    Yes, definitely.  You need to investigate the feature of multiple data sources (in versions 9.4 and earlier, these were called "sub strings" and were accessible from the mode called "Advanced" on the Data Sources tab).  Without knowing what version you are using it is hard to give specific instructions.

     

    Assuming you are using 10.0 or later:

    • Create a text object (don't worry about what the data is yet, just put it on the label).  By default it says "Sample Text"
    • Right-click the object and select "Properties" from the context menu.
    • Select the data source (says "Sample Text") from the navigator on the left.
    • On the Data Source tab, change the Type and set it to the database field.  At this point the object is set to "20" or whatever the value is.
    • Now, in the navigator on the left select the "new" icon (leftmost) to create a new data source.
    • Keep the default type of "Embedded Data" and press Finish.
    • Change the data of this data source to say " kg" (or whatever the unit is - note the space in front).

    Now the text object contains both the database field, and text after it.

     

    Instructions for versions prior to 10.0 are different, but fairly similar - on the Data Sources tab, click "Advanced >>" and you'll see the interface for making multiple substrings.  You'll want both a "Database Field" and a "Screen Data" (old name for Embedded Data) in the same object.

    0
  • Avatar
    Legacy Poster

    Yes it worked! Thanks a lot!

    0

Please sign in to leave a comment.