if field is not emtpy set var and perform find
I'm creating a script to performs finds (constrain found sets) based on values of a popup menu.
I created this script, but I thinks there's something wrong in my if [ ] statements.
What I want is, if the field is not emtpy, set the var and constrain the found set with the $var. The var's are working correctly, I verified it with a simpler script before.