Hello,
I got a mailmerge with an excel document to make labels, like:
«MrMs» «Firsname» «Lastname»
The problem is when the first name is not mentioned it leaves a extra blank
space on the label, like:
Mr. Smith, instead of:
Mr. Smit
Is there a function to ignore field Firsname if it's empty?
Thanks in advance,
Martin
Peter Jamieson - 20 Apr 2005 08:26 GMT
use an IF field, e.g.
{ MERGEFIELD MrMs } { IF { MERGEFIELD Firstname } = ""
"" " { MERGEFIELD Firstname }" }{ MERGEFIELD Lastname }
All the {} need to be the special field codes you can insert using ctrl-F9.
Peter Jamieson
> Hello,
>
[quoted text clipped - 14 lines]
>
> Martin