The simple merge method will only work for fields that have just one matching record. For example, if you pick the Contact table and the <FirstName> field, only one record will match that field for each recipient of the communication.
However, some fields will have more than one matching record. For example, the event “Smith-Brown Wedding” has three functions, each in a different location: the Friday Rehearsal Dinner taking place in the Seabreeze Lounge, the Saturday Wedding Reception taking place in the Royal Ballroom, and the Sunday Gift Opening taking place in the Opal Dining Room. If you sent a communication using a template that contained the <LocCode> (Location Code) field from the Event Location table, EventPro would only merge the location code from the first record, i.e. the Seabreeze Lounge. You need to insert the merge field in a different way so that it includes all of the records that match.
Therefore, if you want to insert a merge field that has multiple records, you must use the Groups buttons in the merge dialog.
| 1. | Open the template in the Word Processor. |
| 2. | Select View | Mail Merge Dialog from the main menu. |
| 3. | In the Merge Fields/Bands dialog, click the Advanced>> button to see the Groups buttons (Insert Start, Insert End, Set Dataset) to the right. |

| 4. | Place your cursor in the document where you want to insert the merge field. |
| 5. | Select the appropriate Table from the drop-down list in the merge dialog. In our example, we are using Event Location. |
| 6. | Under Groups, click the Insert Start button. |

| 7. | In the document, the Group start will appear. In our example, it is EVENTLOCATION. |
| 8. | If the Group name is not correct for the merge fields you want to use, simply click on the line, select the correct table from the drop-down list in the Merge Fields/Bands dialog and click Set DataSet. |
| 9. | You can now choose fields from the correct table. |
| 10. | The cursor will be bumped to the line below the Group Start. Select the Field you want to place in the document. Double-click the field, drag-and-drop the field or click Insert Merge Field to insert the desired Merge Field from the Merge Fields/Bands dialog. To add another, adjust the placement of the cursor in your document (by pressing Enter, Tab, etc.) and add another merge field. |
| a. | In our example, we are adding the LocCode, FunctionName and EventDate fields. |
| b. | Adjust the space between the fields and change the font and paragraph formatting as you wish. |

| 11. | When you have added all the merge fields you require, place the cursor behind or below the merge field(s) you just added, and click the Insert End button. You may want to leave some space after the last field and before the group end. The Group End appears. |

| 12. | The Groups Start and End mark the start and finish of the multiple-entry merge field. All records that match the field will merge into the document as a vertical list at that point. |
| 13. | See below for the example and result: |

| 14. | To preview the document and ensure that the spacing and formatting are correct, click the Merged Text tab or select File | Print Preview. |
| a. | Remember, you can remove or restore the preview panel in the Merged Text tab by selecting View | Preview Panel. |
| b. | Note that the preview text will be pulled from your database, so if some of the fields are incomplete for the company, event, attendee, etc., no text will appear in the preview fields. |
|