简体   繁体   English

如何在水晶报表中设置页面 header

[英]How do I set up a page header in crystal reports

I am running VS2015 with the visual studio crystal report plugin.我正在使用 Visual Studio Crystal Report 插件运行 VS2015。 I have a report in crystal reports and I need to add a text box object into Section 2 (Page Header).我在水晶报表中有一个报表,我需要在第 2 节(页眉)中添加一个文本框 object。 When I click on the black arrow to expand the section and i drag the section down, the section expands but the section is grey with diagonal lines running through the section.当我单击黑色箭头展开该部分并向下拖动该部分时,该部分会展开,但该部分是灰色的,对角线贯穿该部分。 I placed a text box object and entered the text I want to display but when the report is generated, the text in the text box object does not appear on the report.我放置了一个文本框 object 并输入了我要显示的文本,但是当生成报告时,文本框 object 中的文本没有出现在报告中。

Does the greying out of the section indicate that the section will not generate?栏目变灰是不是表示该栏目不会生成? How can I get the text in the text box object to get printed?如何让文本框 object 中的文本打印出来?

Any assistance is greatly appreciated.非常感谢任何帮助。

Here is a snapshot of what the developer looks like (I apologize for the poor quality as I am developing on a different machine than the one I used to type this question.这是开发人员的快照(由于我在与我用来输入此问题的机器不同的机器上进行开发,因此质量较差,我深表歉意。

在此处输入图像描述

That section is suppressed.该部分被抑制。

To unsuppress it, use the right-click menu from the vertical bar area to the left of the section or go to Report, Section Expert... and select the target section.要取消抑制它,请使用该部分左侧垂直条区域的右键单击菜单或 go报告,部分专家...和 select 目标部分。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM