If statement

Clovertech Forums Cloverleaf If statement

  • Creator
    Topic
  • #122499
    Rich Brant
    Participant

      🙂 Now I’m just frustrating myself!  All I need to do is evaluate for Null, and it works fine if it actually is Null, but won’t work if it isn’t.  I finally got the date conversion to 2026-05-04, but it doesn’t like it if it’s blank, I get — in the field so I want to check to make sure it’s not blank before I do the inline Tcl.

      0(0).PV1(0).#45(0).[0] ne @Null

      I’ve tried that, and also ne =””

    Viewing 1 reply thread
    • Author
      Replies
      • #122500
        Jason Russell
        Participant

          Make sure you’re using @null not @Null (case sensitive).

          • #122502
            Rich Brant
            Participant

              Thank you!  It’s always the silly mistakes we overlook!  Works great now.

          • #122503
            Ramachandran R
            Participant

              Please note that, you do not have to add “” after the eq=. The below will also work fine,

              0(0).PV1(0).#45(0).[0]  eq=

              Make sure no space in between or after eq=

              Thank you.

          Viewing 1 reply thread
          • You must be logged in to reply to this topic.