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.
Unfortunately, activation email could not send to your email. Please try again.

Regarding Mail Merge :- Index was out of range

Thread ID:

Created:

Updated:

Platform:

Replies:

75260 Jul 18,2008 12:44 AM Jul 18,2008 07:11 AM Windows Forms 1
loading
Tags: DocIO
gurpreet
Asked On July 18, 2008 12:44 AM

Hi,

I am using to product for performing mail merge. i create a document with mail merge fields.

I am getting error when i am trying to Execute group. I am using following Coding:-

document.MailMerge.ExecuteGroup(pdt)

and i m getting following error:

"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"

Stack Trace is following :-
" at System.Collections.ArrayList.get_Item(Int32 index)
at Syncfusion.DocIO.DLS.ParagraphItemCollection.get_Item(Int32 index)
at Syncfusion.DocIO.DLS.MailMerge.GroupSelector.FindInBodyItems(BodyItemCollection bodyItems)
at Syncfusion.DocIO.DLS.MailMerge.GroupSelector.ProcessGroups(WTextBody body, IRowsEnumerator rowsEnum)
at Syncfusion.DocIO.DLS.MailMerge.ExecuteGroup(WSection section, IRowsEnumerator rowsEnum)
at Syncfusion.DocIO.DLS.MailMerge.ExecuteGroup(IRowsEnumerator rowsEnum)
at Syncfusion.DocIO.DLS.MailMerge.ExecuteGroup(DataTable table)
at SDP.Base.QueryBuilder.MailMergeExecuter.ExecuteGrp(WordDocument document, MergeTable MT, DataSet DSet, WordDocument orgDoc, WordDocument& doc1, Int32 counter)"

Can you please guide me how to resolve this issue.

Thanks,

Gurpreet Madaan




Bhuvaneswari P [Syncfusion]
Replied On July 18, 2008 07:11 AM

Hi Gurpreet,

Thank you for your interest in Syncfusion products.

I am afraid that I am not able to reproduce the issue. Could you please provide your sample to reproduce the issue, so that we would be able to reproduce the issue in our end and investigate more on this issue.

Please let me know if you have any questions.

Best Regards,
Bhuvana



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;