9 Replies Latest reply on Nov 8, 2011 1:28 PM by philmodjunk

    cannot assign word count of value list to a variable

    med

      Title

      cannot assign word count of value list to a variable

      Post

      I have a script with this line

      set variable [$$codescount;value:wordcount(valuelistitems("reports";"service codes"))]

      when I run the script debugger and data viewer the value of $$codecount is 0 however when I monitor the word count by typing     wordcount(valuelistitems("reports";"service codes")) i get a value

      Is it not allowed to assign this value or am I overlooking something?