Details:
细节:
I am using Reporting Services 2005 in a C# Application with Visual Studio 2008 to generate reports based on a SQL Server 2005 database. The application views the report locally using the .net report viewer and no report server is used. There is a page break in the report after each person. I am currently using just one report table for the .rdlc file to generate the report.
我在2005年使用Visual Studio 2008的c#应用程序中使用Reporting Services来生成基于SQL Server 2005数据库的报告。应用程序使用.net报表查看器本地查看报表,不使用报表服务器。每个人的报告后面都有一页空白。我现在只使用一个报告表来生成报告。
Question:
问题:
My client wants to put a disclaimers page after the grouping has ended for each person listed on the report. The client wants to be able to adjust the disclaimer page on the fly through the user interface, before running the report. Please offer suggestions on how I can accomplish this.
我的客户希望在分组结束后为报告中列出的每个人放置一个免责页面。客户端希望能够在运行报表之前,通过用户界面动态地调整免责页面。请就我如何能做到这一点提出建议。
Any help is appreciated.
任何帮助都是感激。
Thanks,
谢谢,
Jeremy
杰里米
2 个解决方案
#1
2
An alternative solution would be to create another report for the sole purpose of rendering the Disclaimer content. The Disclaimer report can then be embedded (via a subreport: see http://msdn.microsoft.com/en-us/library/ms160348.aspx) into your existing reports thereby allowing you to dynamically modify the content of the Disclaimer separately.
另一种解决方案是创建另一个报告,以实现放弃声明内容的唯一目的。然后可以将免责报告嵌入到现有的报告中(通过子报告:请参见http://msdn.microsoft.com/en-us/library/ms160348.aspx),从而允许您分别动态修改免责报告的内容。
You could store the actual Disclaimer content within a SQL Server Database table and update it via any number of the typical simple standard .NET controls that are at your disposal.
您可以将实际的免责内容存储在SQL Server数据库表中,并通过任意数量的标准. net控件对其进行更新。
This has the advantage of no character restrictions as per the prior recommendation.
它的优点是没有字符限制,如先前的建议。
#2
2
Do you mean they want to adjust it on the fly PRIOR to executing the report or after? If before, could you not use a parameter, with the disclaimer template as the default value and submit it to the report when they are done? You could then put the parameter in the group footer. If after then...good luck :) The report is rendered into whatever format chosen. If you are retrieving the report in html and have the rendered file perhaps custom parsing could be done but seems a bit naff. Been a while with SRS, hopefully the param could work for you.
你的意思是他们想在执行报告之前或之后动态地调整它吗?如果之前,是否可以不使用一个参数,以免责模板作为默认值,并在完成后提交给报告?然后可以将参数放在组页脚中。如果之后……祝你好运)报告被呈现成任何选择的格式。如果您正在用html检索报告,并已呈现的文件,也许可以进行自定义解析,但似乎有点麻烦。有一段时间在SRS,希望param可以为你工作。
#1
2
An alternative solution would be to create another report for the sole purpose of rendering the Disclaimer content. The Disclaimer report can then be embedded (via a subreport: see http://msdn.microsoft.com/en-us/library/ms160348.aspx) into your existing reports thereby allowing you to dynamically modify the content of the Disclaimer separately.
另一种解决方案是创建另一个报告,以实现放弃声明内容的唯一目的。然后可以将免责报告嵌入到现有的报告中(通过子报告:请参见http://msdn.microsoft.com/en-us/library/ms160348.aspx),从而允许您分别动态修改免责报告的内容。
You could store the actual Disclaimer content within a SQL Server Database table and update it via any number of the typical simple standard .NET controls that are at your disposal.
您可以将实际的免责内容存储在SQL Server数据库表中,并通过任意数量的标准. net控件对其进行更新。
This has the advantage of no character restrictions as per the prior recommendation.
它的优点是没有字符限制,如先前的建议。
#2
2
Do you mean they want to adjust it on the fly PRIOR to executing the report or after? If before, could you not use a parameter, with the disclaimer template as the default value and submit it to the report when they are done? You could then put the parameter in the group footer. If after then...good luck :) The report is rendered into whatever format chosen. If you are retrieving the report in html and have the rendered file perhaps custom parsing could be done but seems a bit naff. Been a while with SRS, hopefully the param could work for you.
你的意思是他们想在执行报告之前或之后动态地调整它吗?如果之前,是否可以不使用一个参数,以免责模板作为默认值,并在完成后提交给报告?然后可以将参数放在组页脚中。如果之后……祝你好运)报告被呈现成任何选择的格式。如果您正在用html检索报告,并已呈现的文件,也许可以进行自定义解析,但似乎有点麻烦。有一段时间在SRS,希望param可以为你工作。