Supress Field With Prompt Design
Hi,
I'm new to BarTender - I'm using 9.4 version. I have designed a template with SQL source and would like to supress price field with prompt design(or VB?). Someting like check box so user could select "print without the price" if option is unselected that filed would be printed.
Thanks in advance
-
Create an off label text object that can have a value of True or False; give this data source a share name. Create a user prompt item for the label object so that it requires data entry at print time. Now open the properties of the price field, go to the "More Options" of the data source and choose to modify the OnProcessData VB script. In the script write a conditional statement that tests the value of the share name, and thereby sets the value of the price to be the price, or to be a value of nothing.
Note that in v10.1 we added built in conditionality of when objects should print or not without needing to use a VB script. Also the True/False data source can be created without the need to be stored in a label object "container".
0 -
Great, thanks a lot for the pointers!
0
Please sign in to leave a comment.
Comments
2 comments