I have successfully generated a Word XML file based on a mail merge approach by the use of a Word XML schema and a dataset converted to XML. I can see that the Windows Explorer recognizes this file as Word XML.
When I click on it, a dialog prompts me to know if I want to open or save the file? Well, this is kind of confusing because the file is already on my disk. So, why does it ask me if I want to save it?
So, I click Open and Word is started. But, it also prompts me with another question. The question is "Opening this document will run the following SQL command: select * from z". As the only way to proceed is to click Yes, I click Yes. Then, I have in Word my original XML schema document. But, it shows it as a schema. I cannot see the data. But, if I look in the XML, I can see that I have the data inserted ok.
What should I do to have this as a Word XML file where Word wouldn't prompt me with the question and where the data would be seen?