Using a Word document as a template for an SSRS report?

ぐ巨炮叔叔 提交于 2019-12-11 07:57:02

问题


Greetings.

I've got a few Word documents that I need to send as notifications when something happens. I've got to fill 10 parameters or so from our SQL Server database. Note that I don't need to send them as word documents, PDF will be fine - I was just given them in .docx form.

Now, I immediately thought SSRS was the way to go here. Now that I've spent some time with the Textbox control and it's lack of formatting (SQL2005), I'm not so sure.

Anyone have an idea for a better way to go about this? Right now I'm using TONS of textboxes as I've got to have certain things underlined, certain things bolded, plus all of the parameters that need to be filled.

There's got to be a better solution. Thanks!


回答1:


Is Reporting Services the right tool for this job? You could easily automate Word 2007 using Visual Studio Tools for Office, do a merge with your data and mail out the actual documents or a PDF of them.




回答2:


I haven't tried it myself, but this might be worth a look.



来源:https://stackoverflow.com/questions/939321/using-a-word-document-as-a-template-for-an-ssrs-report

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!