Reply To: Multi values in IF statement

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Multi values in IF statement Reply To: Multi values in IF statement

#57471
James Cobane
Participant

    Mark,

    You can check for multiple values within the same IF; you just need to repeat the condition (separated by logical OR – the pipe symbols || ) with the new comparison value:

    (0(0).OBX(%s1).00571.[%s1] eq =xxx) || (0(0).OBX(%s1).00571.[%s1] eq =yyy)

    I’d also recommend parenthesizing the conditions.

    Hope this helps.

    Jim Cobane

    Henry Ford Health