a simple Xlate issue with IF clause…

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf a simple Xlate issue with IF clause…

  • Creator
    Topic
  • #52247
    Hyo-Chan Lee
    Participant

      Can anyone help me with folllowing issue:

      a simple xlate setting: If PD1-4 is not null then put a FCSER lookup table name on the PD1-13 otherwise do nothing.  Also if PV1-7 is not null, put a FCSER table name on the PV1-13  otherwise do nothing.

    Viewing 2 reply threads
    • Author
      Replies
      • #73556
        Vince Angulo
        Participant

          Try using “ne” instead of “!=”, since Tcl defaults to string comparisons.  Also, the proper reference for NULL is “@null” (lower case) in translations.  See if that does it.

        • #73557
          James Cobane
          Participant

            Hyo-Chan,

            I think there are a couple of issues.  First, use the string ‘ne’ compare operator rather than the numeric !=  Also, the temp variable should be @null rather than @NULL (right click in the tool while in the ACTION window to get the drop-down list of available temp variables).

            Hope this helps.

            Thanks,

            Jim Cobane

            Henry Ford Health

          • #73558
            Hyo-Chan Lee
            Participant

              I’ve modified and it’s working now.

              Thank you both of you.

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.