Reporting Services:Tablix RepeatColumnHeaders 不适用于某些报告 [英] Reporting Services: Tablix RepeatColumnHeaders doesn't work on some reports

查看:27
本文介绍了Reporting Services:Tablix RepeatColumnHeaders 不适用于某些报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我有各种各样的报告,其中包含在 Tablix 中呈现的数据集......漂亮的花园各种各样的东西.Tablix 控件有一个名为 RepeatColumnHeaders 的属性,我已将每个相关报告的属性设置为 True.此属性的说明指出指示是否在每个页面上显示数据区域的哪个部分上重复列标题."听起来很简单,但在某些报告中它有效,而在其他报告中则无效.我似乎无法找到可能影响此的报告的不同之处.在标题重复的一份报告中,有一些相当神秘的分组魔力,但在一个不起作用的示例中,Tablix 只有一个级别——没有分组.我希望多嵌套一个是问题,而不是扁平的.

So I've got various reports that consist of a DataSet rendered in a Tablix... pretty garden variety stuff. There is a property for the Tablix control named RepeatColumnHeaders, which I have set to True for each report in question. The explanation for this property states “Indicates whether column headers are repeated on each page on which part of the data region appear.” Sounds pretty straightforward, but on some reports it works and on others it does not. I can't seem to find what's different about the reports that might affect this. On one report where the headers do repeat, there is some fairly arcane grouping mojo, but in an example where it doesn't work the Tablix only has one level--no grouping. I would expect the multi-nested one to be the problem, not the flat one.

也许这是一个完全不同的问题.我拼凑了一个简单的 Tablix 渲染 SELECT * FROM Foo,接受所有默认值,这导致 RepeatColumnHeaders 被设置为 False,然后你看列标题 重复那个报告...... Grrr.

Maybe it's a different problem altogether. I threw together a simple Tablix rendering SELECT * FROM Foo, accepted all the default values, which results in RepeatColumnHeaders being set to False, and lo and behold the column headers do repeat for that report... Grrr.

非常感谢任何见解.

推荐答案

从我设法挖掘的内容来看,这有点不稳定.在分组窗格中,选择高级模式,然后选择最外面的静态行.然后您应该会看到RepeatOnNewPage"属性.

It's a bit wonky from what I've managed to dig up. In your grouping pane, select advanced mode, then select your outermost static row. You should then see the "RepeatOnNewPage" property.

更新:寻找高级模式:
@HCL 的评论链接到 其他答案@user359904 提供了有关如何查找和进入高级模式的信息:

Update: finding Advanced Mode:
The comment by @HCL links to the other answer by @user359904, that has the info on how to find and enter Advanced Mode:

  1. 选择 tablix
  2. 报告下方是行组"和列组",一直到列组"右侧的是一个向下的小箭头.
  3. 点击箭头,选择高级模式.

这篇关于Reporting Services:Tablix RepeatColumnHeaders 不适用于某些报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆