Skip to main content

Search

Search

VB - proper format for this IF statement

Comments

2 comments

  • Avatar
    Brian Susol

    In case anyone else finds it helpful, I believe I have it working

     

    PM = Format.NamedSubStrings("PMSetID").Value
    SET_ID = Format.NamedSubStrings("SetID").Value

    If PM = SET_ID Then
    Value = Format.NamedSubStrings("PMSetID").Value & " " & Format.NamedSubStrings("TrackID")
    Else
    Value = Format.NamedSubStrings("PMSetID").Value & " " & Format.NamedSubStrings("SetID").Value & "/" & Format.NamedSubStrings("TrackID")
    End If

    0
  • Avatar
    Xabier Clemente
    Moderator

    Hi Brian!

    Welcome to the BarTender Community!

    Thank you for sharing with us the solution you found for this issue! People with the same query will surely find it useful. :)

    0

Please sign in to leave a comment.