I am writing a program that generates and prints invoices automatically using MS Word, when a new sale has been complete.
when an order is complete an xml file is created and stored creating all the details needed for the invoice. is there a way to get word to read and parse this and add the values to my template?
what i have been trying is opening the file in excel and using that as the data source for the merge. however i cannot get this to work, as it looks at the different products contained in the order as seperate recepitents as opposed to the individual products for one customer.
anyone have any ideas how i can do this?
when an order is complete an xml file is created and stored creating all the details needed for the invoice. is there a way to get word to read and parse this and add the values to my template?
what i have been trying is opening the file in excel and using that as the data source for the merge. however i cannot get this to work, as it looks at the different products contained in the order as seperate recepitents as opposed to the individual products for one customer.
anyone have any ideas how i can do this?