Poornima,
I ran the sample VS2008 solution to generate a Word file and the Word file open up and there is a "Protected View" error message. Please see the screen shot in the MailMergeIssues.docx in the attached Zip file. "First Try" block uses DataReader and "Second Try" block uses Table for merging data fields.
Other zipped files are templates, output and my codes.
I've tried with version 8.4.0.10 and now try to go back to version 7.2.0.37.
Do I need to setup some options in Word 2010 to make this works?
I've tried to "enable all macros in Word Trust Center - Macro Settings and that didn't help.
Please help!
Thank you,
Trinh Beam
Trinh_b9af5c39.zip