Skip to main content

Search

Search

Conditional Printing Using Suppression

Comments

2 comments

  • Avatar
    Ian Cummings
    Moderator

    When you say "text fields" do you mean data sources in a single text object, or do you mean two separate text objects on your label layout?  I presume the former.

     

    It sounds to my like you should instead have a single data source for you object that uses an event based VB script.  Then for the OnIdenticalLabel or OnNewRecord event (depending on the setup of your particular label), use an If...Then statement to decide at time of printing that label which value the data source will have.

     

    If X = "Y" Then
      value = "The value was Y"
    Else
      value = "The value wasn't Y"
    End If
    
    0
  • Avatar
    Legacy Poster

    Ian -  I had two separate text objects on the layout.    I was suppressing one or the other depending whether it met Condition A or not.

     

    I'll look into VB scripting.  I've never used it before.    This was my 1st ever BarTender label.

     

    Thank you

    0

Please sign in to leave a comment.