如何在RDLC报表中添加摘要字段

本文关键字:添加 字段 报表 RDLC | 更新日期: 2023-09-27 18:05:28

我在Win-form中使用RDLC报告。我想添加下面的页面作为摘要。也就是说,我想把这一页作为单独的一页添加到Report中。

My Friends Working in Fox pro。他在总结字段中说这是可能的,它就像一个页脚。但是我找不到。请帮帮我。

              The Committee has considered the following aspects before finalizing the attendance%      
    for the B.Sc H&HA I year I semester Students,   
           1.    Students involved in attending ODC, Exhibitions and other functions        
        deputed by the college.
          2.    Students who had shortage of attendance were instructed to attend the classes in        
         the weekend / Holidays. Classes were conducted by the staff who 
        were stationed at the Institute.
                 As directed by the principal, in the interest of the students and due to the semester pattern,                                     
    It has been decided to consider overall attendance % for the eligibility to write                               
    the NCHM semester examination 2011. 

(Mr.Elangovan)   (Mr.Mathew)    (Mr. Senthil Kumar)      (Ms. Sharmila)     ( Ms. Parimala)    (Mr. Thirulogchander)                                                


                            (PRINCIPAL)                 

如何在RDLC报表中添加摘要字段

听起来你只需要在摘要文本前添加一个换行符:

http://msdn.microsoft.com/en-us/library/ms251701 (v = vs.80) . aspx

是啊,Foxpro让这些事情变得非常简单…不知道数据源,也不知道是否可以通过向每行输出添加列/字段来进行调整。我会添加一列的blob(或备忘录从FoxPro),你可以只是转储一堆文本到它。然后在要打印的数据的最后一条记录上,打印这一列。由于它不存在于任何先前的记录中,因此它不会导致与任何其他内容的冲突。然后,正如Daniel所提到的,您可以抛出强制分页符,以便该内容显示在自己的页面上。

我同意在报告中添加分页符并将上面的信息页添加到该页面可能会更容易。我不知道你是用什么来创建你的报告Visual Studio 2005/2008,但这里有一些说明在VS 2005中添加分页符。

如何设置分页符

定义页长和分页

我不确定你的报告是如何设置的,但如果你的指示明确如下:

To add a page break to a report item
Right-click the report item and then click Properties.
**Note**
Item page breaks apply only to the report items rectangle, table, matrix, list, and chart.
On the General tab, for Page breaks, select Insert a page break before this list (rectangle, table, or matrix) or Insert a page break after this list (rectangle, table, or matrix).

所以请记住,应用分页符到一个项目它必须是一个矩形,表格等。我刚刚在VS2005中做了一个测试,并添加了一个矩形,然后在上面的数据中放置了一个文本框,并将其放在报告的单独页面上。

希望这对你有帮助。