9 Replies Latest reply on Jan 2, 2017 12:30 PM by try67

    Script for true or false answer?

    ivanp55688631

      Hi!

      I'm trying to get a field to print a true or false answer. The field is supposed to get data from another field (which is a summary field) and state if its 65 or above and then print if it is or not.

      I have tried the following script but cannot get it to work.

       

      {

       

      if (this.getField(” Summa ATS 1”) == 65 = true);

      if (this.getField(” Summa ATS 1”) < 65 = true);

      if (this.getField(” Summa ATS 1”) > 65 = false);

      {

      if (true) System.out.println(" True ");

      if (false) System.out.println(" False ");

      }

       

      How can I get this to work?