Show/hide Text Object Based On Data Field
Is there a way to show/hide a text object in Bartender based off of a Yes/No field in the data source? I'm looking to print barcode labels and would like "--NQB--" to show up on the label if the quantity bearing field in the data source is "No" for that row.
-
Hello Mattg,
Could you let me know what version and edition of BarTender are you working with?
1. Please note that on version 10.1 we greatly improved our conditional printing feature for objects, layers, templates... (Automation edition or higher required). You can now specify when to print such objects based on the value of a database field, a named data source...
2. If you don't have a v10.1 Automation license you can still get a similar result using VB script specifying an "empty" value when the condition is met. The script would look similar to the below:
If Field("Table.FieldName") = "No" Then Value = "" End IfIn my example I'm using a database field as reference, but you can also use a named data source through the function Format.NamedSubStrings("DataSourceName").Value.
Regards
0 -
Fernando,
I am using version 8.1. I was able to do this using a VB script similar to the on you provided. Thank you for your help!
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare