Reply To: tbllookup within Alert

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf tbllookup within Alert Reply To: tbllookup within Alert

#59052
Keith McLeod
Participant

    Think I got it…

    Added to this section:

    # Get default value

       set dflt [TioGetDefault 1]

       set passThru [TioGetPassThrough 1]

    # If the value does not exist, Just return default

       if {![TioExists 1 $val $side] && $passThru == 1} {

           return $val

       } else {

           return $dflt

       }

    This appears to do the trick.  If there is a better way, I appreciate the guidance/advice.