vb.net Crystal 报表页眉未在每一页中显示

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19531116/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-17 15:35:24  来源:igfitidea点击:

Crystal report page header not showing in every page

vb.netcrystal-reports

提问by McJim

Good Day to All!

大家好!

I am not much familiar with crystal report, but I've been digging every corner and can't really seem to find the solution. My problem is that I cant get the Titles to show on everypage, it comes out only on the first page and thats it.

我对水晶报告不太熟悉,但我一直在挖掘每个角落,似乎无法真正找到解决方案。我的问题是我无法让标题显示在每一页上,它只出现在第一页上,仅此而已。

I have also tried placing the titles into different other sections like Section2(Page Header a,PageHeaderSection2) and even tried copy/paste them into all of the sections to see the difference. It was no help.

我还尝试将标题放入不同的其他部分,如 Section2(Page Header a,PageHeaderSection2),甚至尝试将它们复制/粘贴到所有部分中以查看差异。这没有帮助。

I've searched for solutions like, RightClick>Report>Group Expert>Options>Check "Keep Group Together" check box. Doesnt work, and I have nothing in my "Group By:" list so the "Options" button is disabled.

我已经搜索了类似的解决方案,右键单击>报告>组专家>选项>选中“保持组在一起”复选框。不起作用,我的“分组依据:”列表中没有任何内容,因此“选项”按钮被禁用。

Here is what I have:

这是我所拥有的:

  • ReportHeaderSection1 (Report Header a)
  • ReportHeaderSection2 (Report Header b)
  • Section1(Report Header c)
  • Section2(Page Header a)
  • PageHeaderSection2 (Page Header b)
  • Section3 (Details)
  • Section4 (Rport Footer)
  • Section5 (Page Footer)
  • ReportHeaderSection1(报表标题a)
  • ReportHeaderSection2(报表标题 b)
  • 第 1 节(报告标题 c)
  • Section2(页眉a)
  • PageHeaderSection2(页眉b)
  • 第三节(详情)
  • 第 4 节(Rport 页脚)
  • 第 5 节(页脚)

Under my ReportHeaderSection1 (Report Header a), I have inlcuded the titles and project names which is required to show on each of every printed page.

在我的 ReportHeaderSection1(Report Header a)下,我包含了需要在每个打印页面上显示的标题和项目名称。

Under ReportHeaderSection2 (Report Header b), I have a graph.

在 ReportHeaderSection2(报告标题 b)下,我有一个图表。

Under Section1(Report Header c), I have cross tab.

在 Section1(Report Header c) 下,我有交叉表。

The rest, is empty.

其余的,都是空的。

Your kind reply would be greatly appreciated.

您的友好答复将不胜感激。

Jim

吉姆

采纳答案by campagnolo_1

The way to set this is in the Section Expert, not the group expert. There is a paging tab and an options tab where you can set your preferences. Check into that and let us know which version of CR you are running and I can tell you exactly how to do it in the morning.

设置方法是在部门专家中,而不是在组专家中。有一个分页选项卡和一个选项选项卡,您可以在其中设置首选项。检查并告诉我们您正在运行哪个版本的 CR,我可以在早上告诉您确切的操作方法。

Hope that helps,

希望有所帮助,

Chris

克里斯

EDIT:

编辑:

After re-reading your post again, I think your report is not structured very well and is causing issues. In the Report Header you should only put stuff that you want to see once, like a company logo, a brief explanation of the report, etc. In the Page Header you should put things like column labels, current date, stuff that you want to see on every page. The Group Headers are for grouping data together under a common denominator (date, name, etc.). The Detail Section then shows the actual data for the group.

再次重读您的帖子后,我认为您的报告结构不合理,并且引起了问题。在报告标题中,您应该只放置您希望看到的内容,例如公司徽标、报告的简要说明等。在页面标题中,您应该放置诸如列标签、当前日期、您想要查看的内容在每一页上看到。组标题用于在一个共同的分母(日期、名称等)下将数据分组在一起。详细信息部分然后显示该组的实际数据。