简体   繁体   English

仅在水晶报表的第一页显示 header c#

[英]Displaying header in first page only on crystal reports c#

I have a crystal report to print an invoice.我有一份水晶报告来打印发票。 I have a page header with details like Item number, quantity etc. I want it to display in first page only.我有一个页面 header,其中包含商品编号、数量等详细信息。我希望它只显示在第一页。 Currently if more items than a page comes rest of the items will be printed in 2nd page.目前,如果项目超过一页,则 rest 的项目将打印在第二页。 I don't want the page header to display on all pages.我不希望页面 header 显示在所有页面上。 I want it to display on first page only.我希望它只显示在第一页上。 Means i want it to display one time only.意味着我希望它只显示一次。 I have solved a similar problem with report footer.我已经解决了报告页脚的类似问题。 i wanted it at last page only.我只想要它在最后一页。 So i suppressed the fields and written the formula所以我压制了这些领域并写下了公式

PageNumber <> TotalPageCount页码 <> 总页数

so how to display page header in first page only?那么如何仅在第一页显示页面 header 呢? and how to display a box object in last page only.以及如何仅在最后一页显示框 object。 Can someone help me with that?有人可以帮我吗?

Place that details inside the Report Header, hence it will displayed in the first page only. 将该详细信息放在“报表标题”中,因此它将仅显示在第一页中。 Or use the suppress formula to hide the details for the other pages. 或使用抑制公式隐藏其他页面的详细信息。

Please look into this link . 请查看此链接

1:Just go to the report heading right click on it. 1:只需go到报告标题右击即可。 2:Section Expert then Suppress( no drill down) 3:Write it "PageNumber > 1" 4:Save 2:Section Expert 然后 Suppress(不向下钻取) 3:将其写入“PageNumber > 1” 4:保存

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

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