Field Symbol in Ifthenelse

J

Jack Lamberton

HELP!

I have been unable to insert check boxes (via the SYMBOL field) in my merge
document from an IF THEN ELSE field. But it works just fine if not part of
an IFTHENELSE.

Symbol 254 is a checked box and Symbol 168 an unchecked box.

{SYMBOL 254 \a \f Wingdings \* MERGEFORMAT} {SYMBOL 168 \a \f Wingdings \*
MERGEFORMAT}

The above works just fine.

{If {MERGEFIELD "Check1"} = "x" "YES" "NO"} works fine.

Then if I replace THEN/ELSE texts ("YES" "NO") with the SYMBOL fields as
follows, the check boxes are not inserted in the merge document.

{If {MERGEFIELD "Check1"} = "x" {SYMBOL 254 \a \f Wingdings \* MERGEFORMAT}
{SYMBOL 168 \a \f Wingdings \* MERGEFORMAT}}


Any suggestion?

Thanks.
 
M

macropod

Hi Jack,

The simple approach is to replace your "YES" and "NO" with the appropriate Windings characters, via Insert|Symbol.

Cheers
 
J

Jack Lamberton

I did but it still doesnt work... Did I leave something out in the following?

{If {MERGEFIELD "Check1"} = "x" {SYMBOL 254 \a \f Wingdings \* MERGEFORMAT}
{SYMBOL 168 \a \f Wingdings \* MERGEFORMAT}}


macropod said:
Hi Jack,

The simple approach is to replace your "YES" and "NO" with the appropriate Windings characters, via Insert|Symbol.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Jack Lamberton said:
HELP!

I have been unable to insert check boxes (via the SYMBOL field) in my merge
document from an IF THEN ELSE field. But it works just fine if not part of
an IFTHENELSE.

Symbol 254 is a checked box and Symbol 168 an unchecked box.

{SYMBOL 254 \a \f Wingdings \* MERGEFORMAT} {SYMBOL 168 \a \f Wingdings \*
MERGEFORMAT}

The above works just fine.

{If {MERGEFIELD "Check1"} = "x" "YES" "NO"} works fine.

Then if I replace THEN/ELSE texts ("YES" "NO") with the SYMBOL fields as
follows, the check boxes are not inserted in the merge document.

{If {MERGEFIELD "Check1"} = "x" {SYMBOL 254 \a \f Wingdings \* MERGEFORMAT}
{SYMBOL 168 \a \f Wingdings \* MERGEFORMAT}}


Any suggestion?

Thanks.
 
M

macropod

Hi Jack,

No, you're putting too much in! Simply replace the "YES" and "NO" in the field code below with the appropriate Windings characters,
via Insert|Symbol:
{IF{MERGEFIELD Check1}= x YES NO}
Alternatively, you could use:
{SYMBOL {IF{MERGEFIELD Check1}= x 254 168} \a \f Wingdings}

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Jack Lamberton said:
I did but it still doesnt work... Did I leave something out in the following?

{If {MERGEFIELD "Check1"} = "x" {SYMBOL 254 \a \f Wingdings \* MERGEFORMAT}
{SYMBOL 168 \a \f Wingdings \* MERGEFORMAT}}


macropod said:
Hi Jack,

The simple approach is to replace your "YES" and "NO" with the appropriate Windings characters, via Insert|Symbol.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Jack Lamberton said:
HELP!

I have been unable to insert check boxes (via the SYMBOL field) in my merge
document from an IF THEN ELSE field. But it works just fine if not part of
an IFTHENELSE.

Symbol 254 is a checked box and Symbol 168 an unchecked box.

{SYMBOL 254 \a \f Wingdings \* MERGEFORMAT} {SYMBOL 168 \a \f Wingdings \*
MERGEFORMAT}

The above works just fine.

{If {MERGEFIELD "Check1"} = "x" "YES" "NO"} works fine.

Then if I replace THEN/ELSE texts ("YES" "NO") with the SYMBOL fields as
follows, the check boxes are not inserted in the merge document.

{If {MERGEFIELD "Check1"} = "x" {SYMBOL 254 \a \f Wingdings \* MERGEFORMAT}
{SYMBOL 168 \a \f Wingdings \* MERGEFORMAT}}


Any suggestion?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top