Checking for !null

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Checking for !null

  • Creator
    Topic
  • #47792
    Scott Frye
    Participant

    My data looks like this:

    RXC|A|^^NDC|0

    I want to do something if RXC2.1 is not null.  What would my if statement look like in  my Xlate?

    I tried:

    0(0).RXC.00314.[0]  ne @null

    but it didn’t work.

    Any ideas?

    Scott

Viewing 1 reply thread
  • Author
    Replies
    • #56733
      Daniel Lee
      Participant

      Try this:

      0(0).RXC.00314.[0]  ne =

    • #56734
      David Caragay
      Participant

      Just as an FYI, if your looking to check for an active null, you can check the field type.  Looking at the xlateInType value for the field in question will tell you if it is an active null.

      Active Null looks like this….

      XlateInTypes:>null< XlateInVals:>{}<     (|""|) Passive Null looks like this…   XlateInTypes:>ch< XlateInVals:>{}<      (||)

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

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,293
Replies
34,435
Topic Tags
286
Empty Topic Tags
10