Solution to test for Null value in BAQ

In the past if I wanted to test to see if a field in an outer join table of a BAQ was null, I had to compare it to another field where I know the value would always be null. ? would give me an error. I just found out that you can use sqrt(-1). So something like "UD01.Number04 = sqrt(-1)" in a calculated BAQ field will return a true or false depending on if UD01.Number04 is null or not.

Just thought I would share this with everyone.