IF FIELD in Word 2003

  • Thread starter Thread starter Marins
  • Start date Start date
M

Marins

Hi everyone!

I'm trying to write a very stupid "IF" expression in a field in word.
This field is populated by a field with the same name in a table in a
MSAccess db.
I have defined this db as datasource and I can read correct value in
word,but when I try to test e field value,a very simple text field, the
If expression doesn't work.

This is my last expression:

{IF {Rec_esportato} = "N" "OK" "KO"}

I've also tried:

{IF {Rec_esportato = "N"} "OK" "KO"}
{IF {Rec_esportato} = "N" "OK" {IF {Rec_esportato} <> "N", "KO"}}

Can Anyone help me??!

Thanks in advance,Marina
 
What does
{Rec_esportato}
on its own produce?

You may need {REF Rec_esportato} or {Mergefield Rec_esportato}depending on
where you get the field information from.

However the correct syntax would be

{IF {Rec_esportato} = "N" "OK" "KO"}


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top