Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
C#: XML + template = new document?
Hello,
I would like to use Word for printing the documents from our C# application. I know how to create a template in Word using the schema of my xml source, but I cannot easily find how to present the XML data to the word document and do the mailmerge. All samples I have found so far are based on SQL statements. My output document is for example an invoice, with one-to-many relationships. Any suggestion is very welcome Regards, Dirk |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
XML + template = new document?
Sounds like you are probably trying to perform a "multiple items per
condition (=key field)" mailmerge which Word does not really have the ability to do: See the "Group Multiple items for a single condition" item on fellow MVP Cindy Meister's website at http://homepage.swissonline.ch/cindy...faq1.htm#DBPic Or take a look at the following Knowledge Base Article http://support.microsoft.com/default...b;en-us;211303 http://www.knowhow.com/Guides/Compou...poundMerge.htm -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Locusta" wrote in message ... Hello, I would like to use Word for printing the documents from our C# application. I know how to create a template in Word using the schema of my xml source, but I cannot easily find how to present the XML data to the word document and do the mailmerge. All samples I have found so far are based on SQL statements. My output document is for example an invoice, with one-to-many relationships. Any suggestion is very welcome Regards, Dirk |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do you use a template? | Microsoft Word Help | |||
directory mail merge: auto pop-up template for the final listing?? | Mailmerge | |||
Mail Merge Data Question | Mailmerge | |||
How Come? | Mailmerge | |||
CPU Usage When working with a Template I Created | Microsoft Word Help |