denzilquixode #1 That's very useful. Also, you can just use "If xxx" instead of "If xxx<>Null" I think.