xlt help with a space character

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf xlt help with a space character

  • Creator
    Topic
  • #51653
    Jeff Manley
    Participant

      I am checking a ORM_O01 message OBR-25 (00258 Result Status) for certain values.  They want me to suppress if it is ARRIVED, Scheduled, Exam Begun.

      The Exam Begun is giving me issues with the space between the words.  Is there a way to do this in my IF statement in my xlt?

      Thanks.

    Viewing 0 reply threads
    • Author
      Replies
      • #71126
        Jim Kosloskey
        Participant

          Jeff,

          Try this:

          Copy =Exam Begun to a temp variable (something like @temp).

          Then do the IFAction against the temp variable instead of the actual literal.

          Also you could put the literals in a lookup Table with ‘Y’ as the translation (‘N’ as the default) then do a TABLE Action putting the result to a temp variable and then IF the temp variable for ‘Y’. If that is true then the OBR-25 value matched your specific literals.

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

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