I have WORD2002 document on WinXP. It has a number of fill-in fields. One of
the fields can have either of two options input, for example either black or
white. I want to have a second IF field which adds words conditional on the
input. For example, if "black" was input, then add "as night". Alternatively
if "white" was input, then add "as a sheep".
I have put in an IF statement, but it won't work. It is not a mail merge
document, just an ordinary document with a number of fill-in fields. How can
I reference the fill-in field into an IF statement?
Any help will be appreciated . Roger
Peter Jamieson - 28 Nov 2003 02:42 GMT
When you use FILLIN fields, you either have to use them directly, or save
their results. So you might use
{ SET A { FILLIN } }
{ REF A }{ IF "{ REF A }" = "black"
" as night"
"{ IF "{ REF A }" = "white" " as a sheep" "?" }" }
Or you could use ASK fields which assign a bookmark name to the result
without the need for a SET field.
--
Peter Jamieson - Word MVP
> I have WORD2002 document on WinXP. It has a number of fill-in fields. One of
> the fields can have either of two options input, for example either black or
[quoted text clipped - 7 lines]
>
> Any help will be appreciated . Roger