Homepage › Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Multi values in IF statement › Reply To: Multi values in IF statement
September 27, 2005 at 12:40 pm
#57471
James Cobane
Participant
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