使用 Word 文档作为 SSRS 报告的模板?
问候。
我有一些 Word 文档,需要在发生事情时作为通知发送。 我必须从 SQL Server 数据库中填写大约 10 个参数。 请注意,我不需要将它们作为 Word 文档发送,PDF 就可以了 - 我只是以 .docx 形式获得它们。
现在,我立刻想到 SSRS 是正确的选择。 现在我已经花了一些时间使用 Textbox 控件并且它缺乏格式(SQL2005),我不太确定。
有人有更好的方法来解决这个问题吗? 现在我正在使用大量的文本框,因为我必须将某些内容加下划线,某些内容加粗,以及所有需要填写的参数。
必须有更好的解决方案。 谢谢!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Reporting Services 是适合这项工作的工具吗? 您可以使用 Visual Studio Tools for Office,与您的数据合并并邮寄实际文档或其 PDF。
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.