Reporting Services - 页眉中的组名 [英] Reporting Services - Group Name in Page Header
问题描述
我有一个包含一个组(办公室名称)的报告,每个组之间分页 - 因此在给定页面上只能显示一个办公室的数据.如何让该办公室名称出现在页眉中?
I have a report with one group (Office Name) which page breaks between each group - so the data for only one Office can appear on a given page. How do I get that Office Name to appear in the page header?
我尝试在报告的详细信息部分创建一个隐藏的文本框,该文本框具有 Office Name 值,然后在页眉中引用该值,但我在第 1 页上获得了最后一个 Office Name 值,然后每隔一个为空页面.
I tried creating a hidden textbox in the details section of the report which has the Office Name value and then referencing that in the Page Header, but I get the last Office Name value on page 1 and then it is blank on every other page.
推荐答案
我已经开始工作了,我会发布答案,以防其他人遇到这个问题.
I got it to work and I'll post the answer in case someone else runs across this issue.
由于某种原因,引用文本框不起作用,但是当我在表中放置一个具有相同值的隐藏列时,我可以在页眉中引用它.
For some reason referencing the text box did not work, but when I put a hidden column in the table with the same value, I could then reference that in the Page Header.
这篇关于Reporting Services - 页眉中的组名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!