When prepare mail merge address label with Aspose.Words, I don’t know how to insert NEXT field by Aspose.Words. I insert Merge field very easy by method InsertField(fieldCode as string, fieldValue as string) but I can’t do the same with NEXT field. Could you show me the way to do this?
Anybody know how to do, please help me.
Please try using the following code:
I have tested it not long ago and it worked ok then. Please let me know if it worked for you.
I using your code and it works OK. Thanks for your help.
It is to inform you that we added support of NEXT field to LINQ Reporting Engine in Aspose.Words 16.8.
The Next field instructs Reporting Engine to move to the next data record of data source. Please check the following template syntax of NEXT field.
<<foreach [c in Customers]>> <<[c.Name]>><<next>><<[c.Name]>><<next>><<[c.Name]>> <</foreach>>