View Single Post
 
Old 01-05-2012, 06:24 AM
skarden skarden is offline Windows XP Office 2003
Novice
 
Join Date: Dec 2011
Location: Orlando, FL
Posts: 27
skarden is on a distinguished road
Smile Can I embed a Ref field in an If field in Word 2003?

I am using Word 2003. I have a template with 2 text controls: Text1 and Text2. I have calculate on exit set to True on both.

I then created the follwing (BTW, below is typed, I used the "real" Word fields in my document):

{IF {REF Text1 \* Upper} = "M" "he" "she"}.

No matter what I do, it always comes out false, (she in this example).

I tried making Text1 to auto-uppercase, I tried taking the \* Upper out of the REF filed, I tried not using the quotes, etc.

When I tried it in the negative, i.e.

{IF {REF Text1} <> "" he she}

it always returns the true (he in this example) even if I go into Text1 properties and then re-lock the form (which wipes out whatever was in there before, so I know the field is empty).

Can an IF fieled evaluate a REF field? If so, how?

Thanks,

Last edited by skarden; 01-05-2012 at 03:57 PM.
Reply With Quote