D
Diane Yocom
I have an ASP intranet application that is required to produce Word
documents merged with data from a database. I originally looked at
automating Word's mail merge capabilities, but nixed that idea since I
learned it's not a good idea to try to automate Word on the server and I'd
rather not have to worry about whether or not the user has Word on their
machines.
I, instead, decided to have the Word templates saved as RTF files and to
write a parser/merger myself. This was going fine, although made me a
little nervous since Word produces such complicated RTF code, until we
decided that we were going to combine multiple templates into one final Word
document with, potentiall, different header and footers for each
section/template doc.
I'm having a problem figuring out how to get sections inserted into the
combined RTF doc, so I'm thinking perhaps I should rethink my solution...Can
anyone offer suggestions on how to produce database merged documents from
templates created by users on a Web server? We may have some budget, so
third-party tools would be welcome, as well.
Any suggestions would be greatly appreciated,
Diane Y.
documents merged with data from a database. I originally looked at
automating Word's mail merge capabilities, but nixed that idea since I
learned it's not a good idea to try to automate Word on the server and I'd
rather not have to worry about whether or not the user has Word on their
machines.
I, instead, decided to have the Word templates saved as RTF files and to
write a parser/merger myself. This was going fine, although made me a
little nervous since Word produces such complicated RTF code, until we
decided that we were going to combine multiple templates into one final Word
document with, potentiall, different header and footers for each
section/template doc.
I'm having a problem figuring out how to get sections inserted into the
combined RTF doc, so I'm thinking perhaps I should rethink my solution...Can
anyone offer suggestions on how to produce database merged documents from
templates created by users on a Web server? We may have some budget, so
third-party tools would be welcome, as well.
Any suggestions would be greatly appreciated,
Diane Y.