9 Replies Latest reply on Jul 19, 2012 3:15 PM by Vaughan

    How can I capture the contents of a ValueList?


      I have tried to capture the contents of a ValueList as follows:


      $$x = ValueListItems ( Get ( filename ) ; "Sample" )


      where "Sample" is a ValueList created by entries in a specific field, including "Happy".


      then Script Step: If ( PatternCount ( $$x ; "Happy" ) = 0 // value not in list

      // perform something

      end if


      I must be doing something wrong. This just doesn't work, and I think it should.

      PatternCount ( $$x ; "Happy" ) always returns 0.


      After hours of troubleshooting, I'm convinced that I'm doing it wrong. HELP!