View Single Post
  #12   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default If then else question

Maybe there is a space before the name in the data source. But you can
always remove the space after the semi-colon in the field construction:

{ MERGEFIELD Name1 }, { MERGEFIELD Name1Description }{ IF { MERGEFIELD
Name2 } = "" "" ";{ MERGEFIELD Name2 }, { MERGEFIELD
Name2Description }" }{IF { MERGEFIELD Name3 } = "" "" ";{ MERGEFIELD
Name3 }, { MERGEFIELD Name3Description }" }{IF { MERGEFIELD Name4 } = "" ""
";{ MERGEFIELD Name4 }, { MERGEFIELD Name4Description }" }(IF { MERGEFIELD
Name5 } = "" "" ";{ MERGEFIELD Name5 }, { MERGEFIELD Name5Description }" },
and


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Michelle" wrote in message
...
It's between the semicolon and the first letter of the following name

"Doug Robbins - Word MVP" wrote:

Is that two spaces between the semicolon and the first letter of the
following name? Or, do you mean each record in the data source?

--