J
John in Saratoga
I need to insert text into a Word document conditionally, so I'm using the IF
field. For the text itself I need to use the SYMBOL field (for reasons I
needn't describe). But I can't get IF and SYMBOL to work together.
The field code
{ NUMPAGES } returns number of pages and
{ SYMBOL 65 } returns the letter A, as they should. (Those of course are
real field braces.)
But, while
{ IF 2 > 1 { NUMPAGES } }
also returns the number of pages
{ IF 2 > 1 { SYMBOL 65 } }
returns nothing at all.
Huh?
Word 2003 on XP. Tried two different machines. Same result.
{ IF 2 > 1 { SYMBOL 65 } "false"} returns nothing also, so the conditional
is evaluating TRUE. It's as if SYMBOL just fails when inside an IF field.
field. For the text itself I need to use the SYMBOL field (for reasons I
needn't describe). But I can't get IF and SYMBOL to work together.
The field code
{ NUMPAGES } returns number of pages and
{ SYMBOL 65 } returns the letter A, as they should. (Those of course are
real field braces.)
But, while
{ IF 2 > 1 { NUMPAGES } }
also returns the number of pages
{ IF 2 > 1 { SYMBOL 65 } }
returns nothing at all.
Huh?
Word 2003 on XP. Tried two different machines. Same result.
{ IF 2 > 1 { SYMBOL 65 } "false"} returns nothing also, so the conditional
is evaluating TRUE. It's as if SYMBOL just fails when inside an IF field.