Using If To Change Between A Barcdoe Or Text Field
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
-
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.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar