Info("empty") failure?

What am I missing? I cannot figure out why this results in ‘found 0’ (rather than ‘None found’) when I know the field X has no values:

select X > “”
IF info(“empty”)
nsnotify “None found”
ENDIF
nsnotify "found "+str(info(“found”))

The second one should occur in either case. Maybe it is covering the first one. Try writing it like this.

select X > ""
IF info("empty")
    nsnotify "None found"
ELSE
    nsnotify "found "+str(info("found"))
ENDIF

Thanks for the quick fix! (Again!!)