Section 9. Creating Custom Merges with Word Fields

The simple mail merges you've learned about so far insert data by referencing fields in the specified data source. Nine times out of ten, that's all you need for a mail merge. But wouldn't it be nice for that tenth time to be able to do something a little more complex?

Suppose you are creating a letter to all your customers, but you want the letter to say different things depending on the values in certain fields of your database. For example, perhaps you want customers who have not ordered from you in more than six months to receive a special promotional offer. Or perhaps you want to be able to enter a different promotional offer each time you run the merge and be prompted to enter the offer ...

Get Mail and Data Merges Using Word 2007 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.