Problem with two Data Entry Fields on same template
Hi,
Im using Designer BarTender Designer 2021 R9.
I have a user data entry field called PackSize yto which I use in two locations on a label. The first being on its own as PackSize the second being part of a multifield Barcode.
However only one works and the other becomes static embedded text.
If I drag the PackSize Field to textbox it works. However If I then drag the PackSize field to barcode. The PackSize textbox stops working and becomes static embedded.
So the problem im having is seems cannot have the PackSize user data entry field in multiple textbox controls on a template....is this true.
-
Peter Thane
★ BarTender Hero ★
There a couple of ways how you can link the two fields and the simplest options are, after add the Data Entry form box and linking that to say the Text object:
- Named Data Sources
- Object Method
For the Named route:
- Go in the Properties of the Text box and click on the Change Data Source Name button and give the text field a name
- Next click on the barcode and, if made up of more than one substring, click on the desired substring and press the same button as before and now on the new screen you should see the name you used above. When you click on that and press Ok those two fields are now linked together.
One drawback to this option is that whatever you do to one field also is matched in the other and say in the barcode the field had to be 8 characters long but the text not then you could not setup padding in the barcode object without it being repeated in the text.
Object Method option:
- Click on the text item and at the bottom of the screen you should see an Object Name, remember this.
- Now select the barcode and if applicable the substring that this applies to and change the Type to Object Value and then select the Object Name noted from above.
Now the two fields are linked but you are able to amend the format of the barcode item without effecting that of the text object. This can be especially useful for dates in barcodes where they often need to be displayed in YYMMDD format whilst text dates could be printed differently, eg 240228 and 28th February 2024.
In the image below the top barcode is linked via the name and the bottom via Object and I have also made the latter a minimum of 8 characters, padding it with leading zeros
I hope this helps
0
Please sign in to leave a comment.
Comments
1 comment