Create a word document from form fields

B

bobojones

Is there a way to create a word document when a submit button is pressed. I
have a form that is filled out and the data sent to a database but I would
alos like the data to be added to a work template and sent to someone by
email. Has this been done and if so are there any examples.

Thanks
 
B

Bob Barrows [MVP]

bobojones said:
Is there a way to create a word document when a submit button is
pressed. I have a form that is filled out and the data sent to a
database but I would alos like the data to be added to a work
template and sent to someone by email. Has this been done and if so
are there any examples.
There are several options:
1. Automate Word - people successfully do it but it is not recommended:
http://support.microsoft.com/default.aspx?scid=kb;en-us;257757
2. Use the appropriate mime type to cause the browser to open the html you
generate in Word (discussed in that kb article).
3. Use a third-party tool such as ASPOSE (www.aspose.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top