跳至主內容

搜尋

搜尋

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

評論

1 條評論

  • 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

登入寫評論。