If then else question
Sorry, I didn't use the semi-colon because it is built into the description.
I keep playing with those quotes but either I get two spaces or none. Still
hoping you have a solution. Thanks.
"Doug Robbins - Word MVP" wrote:
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
|