Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / April 2008

Tip: Looking for answers? Try searching our database.

Field Symbol in Ifthenelse

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jack Lamberton - 14 Apr 2008 04:48 GMT
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.
macropod - 14 Apr 2008 05:38 GMT
Hi Jack,

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

Cheers
Signature

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

> HELP!
>
[quoted text clipped - 20 lines]
>
> Thanks.
Jack Lamberton - 14 Apr 2008 05:59 GMT
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}}

> Hi Jack,
>
[quoted text clipped - 25 lines]
> >
> > Thanks.
macropod - 14 Apr 2008 07:03 GMT
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
Signature

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

>I did but it still doesnt work...  Did I leave something out in the following?
>
[quoted text clipped - 30 lines]
>> >
>> > Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.