简体   繁体   English

每个部分之后的Reporting Services 2005带有免责声明的报告页面

[英]Reporting Services 2005 Report with Disclaimers page after each section

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. 我在带有Visual Studio 2008的C#应用​​程序中使用Reporting Services 2005,以基于SQL Server 2005数据库生成报表。 The application views the report locally using the .net report viewer and no report server is used. 该应用程序使用.net报告查看器在本地查看报告,并且不使用报告服务器。 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. 我目前仅使用一个报告表来生成.rdlc文件。

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 杰里米

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. 如果您正在以html格式获取报告并提供了呈现的文件,则可以执行自定义解析,但看起来有点麻烦。 Been a while with SRS, hopefully the param could work for you. 使用SRS已有一段时间,希望该参数对您有用。

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. 然后,可以将Disclaimer报告嵌入(通过子报告:请参阅http://msdn.microsoft.com/en-us/library/ms160348.aspx )到现有报告中,从而使您可以分别动态地修改Disclaimer的内容。

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. 根据先前的建议,这样做的优点是没有字符限制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 生成Reporting Services 2005 PDF报告并将其存储在磁盘上 - Generating a Reporting Services 2005 PDF report and storing it on disk Reporting Services 2005执行错误 - Reporting services 2005 execution error Sql Reporting服务 - 在报告中查找项目 - 加载时 - Sql Reporting services - find item in report - on load 如何在 ASP.Net 和 C# web 页面中将 Reporting Services 报表显示为内联 PDF? - How to display a Reporting Services report as an inline PDF, in a ASP.Net and C# web page? 报告服务向C#中的DataTable报告 - Reporting services report to DataTable in C# 使用 Reporting Services 将报告直接发送到打印机 - Send a report directly to printer with Reporting Services 将报告嵌入实体框架还是报告服务的替代方案? - Embedding a report in Entity Framework or an alternative to reporting services? SQL Reporting Services:查找报告所在的文件夹 - SQL Reporting Services: Finding the folder a report is in 同时运行2005和2008版本的Reporting Services时出现(rsExecutionNotFound)错误 - (rsExecutionNotFound) error on when running both 2005 and 2008 versions of Reporting Services Reporting Service 2005 c#报表查看器路径中的非法字符 - Reporting Service 2005 c# Report Viewer Illegal Characters in path
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM