Does anybody know if it's possible to create a word document on the fly, and include fields from a database? A little like creating a form letter in Word.
Any help would be greatly appreciated.
Cheers,
ScottyC
Printable View
Does anybody know if it's possible to create a word document on the fly, and include fields from a database? A little like creating a form letter in Word.
Any help would be greatly appreciated.
Cheers,
ScottyC
Yes you can. If you look around this Q&A the method for creating Word documents on the fly has been described about 15 times in the last 10 days.
As for inserting data into the document, you can use "Merge Fields" (see Word help).
Good luck.
Scotty
Log onto www.planet-source-code, and Search for Word Merge. There are about five projects to download which will give you more information than you really want to know. Have fun :)