1 Reply Latest reply on Apr 17, 2015 11:29 AM by philmodjunk

    Multiple Case Statements to Set Variable

    jwshelton22

      Title

      Multiple Case Statements to Set Variable

      Post

      I have 20 fields with 2 repetitions each. I need to set a variable if fieldA[2]=yes; set fieldA[1] and so on.

      I have attempted

      Case(fieldA[2]=yes; fieldA[1];"") & <CR> &

      Case(fieldB[2]=yes; fieldB[1];"") & <CR> &

      Case(fieldC[2]=yes; fieldC[1];"") & <CR>

      Each Case works by itself, but not all together.

      thanks