If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to run word and pass a data table as argument to mailmerge
Hello All
I have the following requirement: - I have a standard template document I have a table in SQL Server that as some information that I want to be substituted into this word template and the documents must be generated to be sent by email. Please advise what is the best way to implement this scenario. In brief I want to create a template word file and a seperate data table this must be mail merged and resultant output documents generated. I want to email these documents to the receipients. Please note I would like to start word from command line and pass the template file and the mail merge list as well. I would like to call word from SQL Server DTS tasks so only way I can do it is by calling it in batch mode. Please provide the command line syntax to invoke word and pass these arguments. Thanks Belinda |
Thread Tools | |
Display Modes | |
|
|