Crystal Reports:根据当前页面中的组名称有条件地抑制字段

发布于 2024-08-02 07:56:21 字数 397 浏览 2 评论 0原文

我有一个名为:“Group #1 Name”的组,正如您所知,当在组 1 部分的第一页查看报告时,我们会看到组的标题,但在我们导航到下一个组之前,它不会出现在下一页中。< br> 现在我想在页面标题中显示用户导航的当前组标题,以帮助用户知道当前处于女巫组中(例如:如果组名称是国家/地区名称,则国家“A”中的产品将在下一页中继续,并且其他下一页,我们希望看到这些产品的国家)。

我复制了“组#1 名称”并将其放在页眉上,此功能正常工作,但有一个问题:
当从查看器导航报告时,当我们在标题处看到下一个组(例如:国家/地区 B)时,该值仍然是国家/地区 A,如果您继续导航到下一页,它将是正确的。
这是我的问题:
如何根据组名抑制头域?
明确当当前页面中显示组国家/地区 B 时,我想抑制在标题中显示国家/地区 A 的字段。

I have a group named: "Group #1 Name" and as you know when viewing the report at the first page in Group 1 section we see the title of group but this is not appears in next page till we navigate to next group.
Now i want to display the current Group Title navigating by user in the header of page to help user know currently is in witch group( for ex: if group name is name of countries, Products in Country "A" is continued in next page and other next pages and we vant see these products country).

I copied my "Group #1 Name" and put it on the page header this working but there is a problem:
when navigating the report from viewer and when we see the next group(Ex: Country B) at the header the value is still Country A and if you continue navigatin to the next page it will be correct.
this is my Q:
How Can I Suppress The header field According to the Group Name?
cleary I want to Suppress Field that shows Country A in the header when The Group Country B is Displaying In the Current Page.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

却一份温柔 2024-08-09 07:56:21

我建议右键单击设计器中的相关组,选择组选项,然后选中在每个页面上显示组标题。无需费力将组#1 名称放入页眉中。如果您希望它看起来像在页眉中一样,您可以研究“Underlay Below Section”选项。

I suggest right-clicking on the relevant Group in the Designer, selecting Group Options, and then checking Show Group Header On Each Page. No need to mess about with putting Group #1 Name in the page header. If you want it to appear as if it's in the page header, you can investigate the Underlay Following Section option.

烏雲後面有陽光 2024-08-09 07:56:21

您想要转到组专家,选择该组,然后选中在每个页面上重复组标题的选项。只要页面中有详细信息部分,它就会重复组标题。如果只显示页脚,则不会重复页眉。

You want to go to the group expert, select the group, and check the option to repeat group header on each page. It will repeat the group header as long as it has a details section in the page. It will not repeat the header if it is only the footer being displayed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文