7 Replies Latest reply: Nov 9, 2014 6:22 PM by Alex Wang RSS

    script error when combine SubStringCount and Concat function in IF staement

    Alex Wang



      I try to use bellow statement to decide if load a table into the document in script.


      IF(SubStringCount(Concat(%DIM_LOADING_SERIES, '|'), 'XREF_Product_Master')>0) THEN




      While I got error message shows,


      "Script line error

      IF(SubStringCount(Concat(%DIM_LOADING_SERIES, '|'), 'XREF_Product_Master')>0) THEN"


      I do have the DIM_LOADING_SERIES loaded and selected in the front-end, then what could be the reason for error?


      2014-10-25 19-34-45.jpg

      Thanks a lot!