How To Show Data From Single Text Input Box Shown Padded And Not Padded On The Label
Hello, am new to the forum and hopefully posted in the correct one.
Am using Bartender Automation Edition v9.4 and would like to create a label that has data from the same text input control box shown on the label in two different formats:
a) as entered (without padded 0s).
B) padded with leading 0s, so that min length is met.
Data displayed can be either text or code 128.
I worked out how to use shared names, however I cannot work out how to implement a) and B) at the same time.
Changing the setting in either a) or B) affects both.
While two text control boxes could be used, I would like to know how to use one data entry only.
J.
-
Set label Object B to the value of Object A in the data source setup, and perform the transform on Object B.
In 10.1 SR4 the datasource type = Object Value
0 -
Close to the question I asked, but got no answer.
What if I need both Text Objects A and B to have differently formatted versions (substrings actually) of original value in Data Entry? I had to implement auxiliary unprintable Text Object C binded to that Data Entry, but it seems too complex for this simple task...
0 -
same thing, unless I misunderstand the question ...
Set both A and B to be the object value of the primary object value and now you can change object A and B independently of each other. Maybe you can attach a label with the drop down list so i could play a little. I've never dealt with this type of object before.
0 -
The trick is when you use Data Entry, you bind not to "Object Value", but to "Embedded Data". And in this case you CAN'T attach Data Entry Object to more than ONE Text Object. If you bind it to A, then to B - it gets unbinded from A.
You can bind it to Named Data Source, then bind NDS to both objects, but in this case any format you apply is applied to NDS and hence shows the same formatting in both A and B Text Objects.
I made a simple label with A & B Text Objects. Both formatted as I need, but they linked to 2 identical Data Entry Droplists. Can you alter it so that formatting persist but with only one Droplist involved?
https://dl.dropboxusercontent.com/u/57214776/Test.btw
P.S. I'm started thinking that this might be the some BT version limitation...
0 -
Hello Slickson,
Using "Label Object String" in the sub-string list did the trick.
Thank you.
0
Please sign in to leave a comment.
Comments
5 comments