Skip to main content

Search

Search

Check Number Of Characters In A Field

Comments

1 comment

  • Avatar
    Legacy Poster

    I would say it's easier to use the auto-adjust text if it works for you. Otherwise, the VB command for seeing the length of a sting is "len()"

    For example, you would first give the data source a share name like "Color". Then you would write your vb script out like 

    if (len(Color) < 16) then
      DO SOMETHING
    else
      DO SOMETHING
    end if
    
    0

Please sign in to leave a comment.