#1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Dee Dee is offline
external usenet poster
 
Posts: 98
Default If with And

Hi,
Am struggling with inserting:
no symbol if the field is blank (works fine)
if two conditions are true, display one symbol, otherwise another (doesn't
work)

Here is my syntax:

{symbol{if{=and {mergefield one} 120 {if {mergefield 2} 70 74 76} }} \f
wingdings}

Any help would be really appreciated!
--
Thanks!

Dee
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default If with And

If I understand correctly, you need both field results to be true to insert
one character or the other if not? Then see below. Note that the correct
spaces are crucial

{ Symbol { IF{ =({ IF{Mergefield One } 120 0 1 } + { IF{ Mergefield Two }
70 0 1 }) } 1 74 76} \f "Wingdings" }


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


dee wrote:
Hi,
Am struggling with inserting:
no symbol if the field is blank (works fine)
if two conditions are true, display one symbol, otherwise another
(doesn't work)

Here is my syntax:

{symbol{if{=and {mergefield one} 120 {if {mergefield 2} 70 74 76}
}} \f wingdings}

Any help would be really appreciated!



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:29 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"