We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

NestedMailMerge missing MailGroup

Hi,
i was trying to rebuild your example for "NestedMailMerge".
My data structure is defined like this example:

Public Class ReportClass
    Public Property Name As String
    Public Property Reports As New List(Of ReportClassSublist)
End Class

Public Class ReportClassSublist
    Public Property Subinformation1 As String
    Public Property SubInteger2 As Integer
End Class

the code of my base class

Dim nestedList As New List(Of ReportClass)

'filling data

Dim nestedTable As MailMergeDataTable = New MailMergeDataTable("Report", nestedList)
doc.MailMerge.ExecuteNestedGroup(nestedTable)


this last line is throwing the following exception: Group "Reports" is missing in the source document.

This seems to be an error in my data structure, analiyzing the nestedTable i can see, that the Proerty Reports is Nothing.

2 Replies

LC lc August 29, 2015 09:50 AM UTC

Trying this with a blank document without tables is working fine. Why is this not working when i'm using tables?



SK Sathish K Syncfusion Team August 31, 2015 09:04 AM UTC

Hi Lc,

Thank you for contacting Syncfusion support.

A support incident to track the status of the reported issue has been created under your account. Please log on to our support website to check for further updates,

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let me know if you have any questions.

Regards,
Sathish


Loader.
Live Chat Icon For mobile
Up arrow icon