Hi. I am a new user of the latest version of Aspose.Words.
Thanks for the reply. I have checked these and still have the issue
I dug into this a little more. My test case has a DataTable with 1,000 records and the template is a single page letter. When I execute the merge passing in the table, the generated document has 1,000 pages as expected, however it is 1,000 pages of the letter with the data from the last row in the data table. I tried this with two different templates and got the same behavior.
Thanks for your reply. I have attached the requested data.
The “test_documents.zip” file has the generated documents. You will see that four of the files are individual letters and the “combined” doc should be all 4 letters together. However, it is actually 4 copies of the last letter.
This is any extremely urgent request. I need an answer ASAP, early on Monday if possible. How much would is cost to upgrade this to a priority request if needed?
workingGroupDoc = templateDoc.Clone();
string workingGroupPath = Path.Combine(@"C:\temp\test_doc\", "combined.docx");
workingGroupDoc.MailMerge.CleanupOptions = Aspose.Words.Reporting.MailMergeCleanupOptions.RemoveContainingFields;
//Save doc file.
Ahhh. THANK YOU, THANK YOU!!! I knew that I must be missing something. Now that you pointed it out, I understand why it was generating the file in the way that it was.
One other issue now. I have a numbered list on one template. The numbers aren’t restarting on each page, they just keep going up. is there a setting for this?
A post was split to a new topic: Clone Word Document and then Execute MailMerge (Regions)