Zum Hauptinhalt gehen

Suche

Suche

Hide A Field And Its Label Based On Field's Value

Kommentare

1 Kommentar

  • Avatar
    Shotaro Ito

    With BarTender 10.1 Automation edition, you don't have to use VB Script - text has its property of "Print When", show / hide by certain database field value etc.

     

    For previous versions, you need some VB Script. If you want to hide a text (make empty) conditionally, on more options (Transform) VB script OnProcessData.

    Something like..

    If Field("COUNTRY OF ORIGIN") = "" OR Field("COUNTRY OF ORIGIN") = "UNITED STATES" Then
      Value = ""
    End If
    

    (Ignore #5901 warning.)

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.