Thank you very much for your sample. I can't run it because of a server-version mismatch, but I can open your files and that is the most important.
If I take a look at your template-file, I can see, that you place your 'TableStart:Payments' and 'TableEnd:Payments' MergeFields INSIDE the table. If I do it, I get the Exception: "Group "Payments" is missing in the source document."
I have to place the 'TableStart:Payments' outside the table.
That means: I have to add a table only containing the headlines of the tablecolumns (Date, Discription, Amount).
Then I place the 'TableStart:Payments' MergeField in the line AFTER that first table.
Then i place another table containing the Payments-MergeFields like 'Date', 'Discription' and 'Amount'.
Then I place the 'TableEnd:Payments'-MergeField in the line AFTER that SECOND table.
I have to place these two lines in my C# document, to avoid having 2 tables in my resulting MailMerge document:
doc.MailMerge.ClearFields = true; doc.MailMerge.RemoveEmptyParagraphs = true;
I use Word 2010 and your newest release (10.1.0.44).
Do you have any idea, why it doesn't work for me to place the TableStart:.. and TableEnd:.. MergeFields inside the tablecells? It looks so awkward in my template-file... (attached).
I also tried out to implement a picture in the MailMerge. It was hard to find Documentation on your website on that topic. But for all the others, who have had the same problem and are reading this post: The MergeField fieldname for the picture has to start with 'Image:' followed by the columname of the picture in your db.
Greatings, Karit :)
Image_3fd103d.zip