Using If To Change Between A Barcdoe Or Text Field 追蹤

0
Avatar
Legacy Poster

Hi,

 

I am trying to right some VB that depending on a customer field, displays either text as a barcode or just text.

 

It sounds so simple but I just cannot get it to work.

 

My existing code is this ( it does also include our fields, but they are easy enough to understand)

 

 

IF Field("RM_BoxLabels.Customer") = "1904005"

THEN Field("RM_BoxLabels.Cust_Prod_Code") & "Z" & Format.NamedSubStrings("Qty").Value & Field("RM_BoxLabels.CustomerPoNumber")

ELSE Field("RM_BoxLabels.Cust_Prod_Code")

 

The part in RED combines various fields into one barcode. This does work ok.

 

Hope this makes sense.

 

Thanks in advance

 

Paul

1 意見

0
Avatar
Michael Toupin (mtoupin
評論操作 永久連結

What version of BarTender are you using?  If you've got 10.1 you could use conditional printing to specify whether or not to show each object based off of a specific value.

登入寫評論。