Mail merge for married contacts with different last names



I am in Word 2007 and trying to create a letter from my Outlook contacts.
Nearly all my clients are either married, or have a partner, but I only
create one contact record in Outlook for them (having two contact records
isn't an option for me). Sometimes they have different last names, which
creates problems when writing letters.

I am using BCM, and I have created two user-defined fields. One for
spouse/partner first name, the other for spouse/partner last name.

I am using if then statements in the mail merge, and am coming very close to
making this work. I can get the salutation to work no problem, it only brings
in the 2nd name if there is one there, and adds an " and " between them.

Where I am having trouble is in creating the envelope. For example, if my
clients are Bob Smith and Sarah Jones, I want the envelope to read, "Bob
Smith and Karen Jones."

Here is what I have come up with below. It came very close once, but I've
got something in the wrong spot somewhere, and as I try to "fix" it I'm
making it worse. I know some of the quotes are out of place somewhere.

{if {mergefield "spousepartner_last_name"}="" {mergefield
"first_name"}{if{mergefield "spousepartner_first_name"}="" {mergefield
"last_name"} and "{mergefield "spousepartner_first_name"}{mergefield
"spousepartner_last_name"}"}}


.



Relevant Pages

  • Re: Mail merge for married contacts with different last names
    ... Nearly all my clients are either married, or have a partner, but I only ... spouse/partner first name, the other for spouse/partner last name. ... clients are Bob Smith and Sarah Jones, I want the envelope to read, "Bob ...
    (microsoft.public.word.mailmerge.fields)
  • RE: questions on setting up a mail server
    ... questions on setting up a mail server ... The first group does encryption of the password only. ... Sure it is simple - when ALL clients are running the same version ... of Windows, IE, and Outlook. ...
    (freebsd-questions)
  • Re: Outlook 2k7 and Ex2k7 -> 0X80190197
    ... Outlook 2007 clients will use the proxy settings that are in IE or used in the WinAPIs. ... In addition to this you can check to see which mailbox store you are on and then look at the configuration for that OAB in the Offline Address List container. ... See if this OAB is configured for PF distribution, ... There are several potential advantages of the new distribution mechanism including supporting more concurrent clients, reduced bandwidth usage, and more control over the distribution points. ...
    (microsoft.public.exchange.admin)
  • Re: LAN Manager security policy breaks Outlook clients
    ... I am unfamiliar with your Outlook 03 client issue, ... it on similarly configured domain with XP clients. ... posted was good knowledge, and I have since read up on Kerberos, but it ... Network security: LAN Manager authentication level: Send NTLMv2 ...
    (microsoft.public.windows.group_policy)
  • Re: Application Publishing Server and Exchange
    ... One more question if I may - I intend to publish Office 2007, including Outlook, to the clients using the 2X Application Server product over Terminal Services - the Outlook application will not be installed on the client desktop. ... User) on SBS to add user account and computer account for the clients. ...
    (microsoft.public.windows.server.sbs)