Insert Sql data into word or pdf document

I have users that have word documents that are edited - they want to insert data from an sql database - they will run different reports based on some of the criteria from the database - I am going to output the list of reports available using coldfusion.  Is there a way to open a word or pdf document and passing the data fields needed - so they can still edit their word document and it will put the data in the correct spots?
<cfset FPMRID = #url.MRID#>
<cfquery name = "ClientInfo" datasource = "ThisDatasource">
	FROM master14
<cfoutput query="ClientInfo">
<cfif #trim(Account__bType)# IS "Individual__fJoint__bAgency">
	<a href="http://ourserver/FootprintsWMG/JointReport.cfm?MRID=#FPMRID#" target="_blank">Joint Management Agency</a> 
<cfif #trim(Account__bType)# IS "Company__bAgency">
	<a href="http://ourserver/FootprintsWMG/CompanyReport.cfm?MRID=#FPMRID#" target="_blank">Company Management Agency</a> 
<a href="http://ourserver/FootprintsWMG/ThisReport.cfm?MRID=#FPMRID#" target="_blank">This Report</a> 

Open in new window

Who is Participating?
Good luck editing word docs its not fun at all but PDF's here is a good start:

this may also help you with CF-> Word:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.