I'm having some serious trouble getting the IsEmpty(…) function to pass the correct info and need some help.
I have a custom user field called "Doc_Type". (I set it up as a string, not relational). If I select a file wherein the "Doc_Type" field is empty, and use the "Rename, Move, & Copy Files" dialog box, and use the expression editor to enter the following:
isempty([Doc_Type], 0)
I would expect to get an output of "1" (indicating that the field is indeed empty), but I don't. The output is "0". What is particularly odd is that if I simply switch the test mode to 1, as in the following:
isempty([Doc_Type], 1)
I get an output of "1". If I run this same test on another field that contains data, I get the same results. Its as if the function is simply returning whatever mode I specify.
Any ideas what is happening here?