Mail merge on label template skipping items

Hi Support
I have a situaiton where lets say i have datatable containing 12 record then for some reason only 7 are showing, or another example is is i have 2 records, only the first one shows.
I’m trying to use the <<next record>> as i’d like to allow client to define there own amends to the word doc without any programmer involvement.
Can you please let me know what i’m doing wrong here please?
For completeness Please find a sample of the document attached and the code used is summerized as follows

Dim document As Document = New Document(TemplatePath)
document.MailMerge.RemoveEmptyParagraphs = True
document.MailMerge.MappedDataFields.Add("CreatedDate", "CreatedDate")'plus 20 other mappings
document.MailMerge.Execute(dt)
document.Save(fileName, saveFormat)

Please let me know if this doesnt make sense

thanks
Dani

Hello.
Thank you for your request.
Unfortunately I could not reproduce your problem on my side. Could you create a simple test application that could reproduce your results. Data can pass directly from the code, or use an xml file. You can learn how to do it from here: https://docs.aspose.com/words/net/nested-mail-merge-with-regions/. I’ll see your code and try to give you more detailed information.

Hi
Thanks for your request. You should just insert NEXT field before each record, except the first one. I think the example provided in the following thread could be useful for you:
https://forum.aspose.com/t/94886
Best regards.