Almost - the if should be negated :).
--MidLifeXis
In reply to Re^2: Using UNDEF by MidLifeXis in thread Using UNDEF by neo1491