如何在同一层次结构级别创建 Crystal Reports

发布于 2024-10-08 07:32:33 字数 688 浏览 0 评论 0原文

我想为数据库创建一个这样的报告: 项目(id、详细信息) 任务(id、project_id、详细信息) 资源(id,任务id,详细信息) 工具(id,task_id,详细信息)

我使用带有projects.id和tasks.id的组并成功显示数据,但如果没有资源或工具(标题)信息,则无法抑制。谁有解决办法,请帮帮我。

项目一

Project I details

Task I-1
    Task I-1 details                

    Resource I-1-a         (if tool can display here-
    Resource I-2-b          right of resource is so great)
    Resource I-3-c

    Tool I-1-a
    Tool I-1-b

Task I-1
    Task I-1 details

    Resource I-1-a
    ...

    Tool I-1-a
    ...

项目二

Project II details

Task II-1
    Task II-1 details

    Resource II-1-a
    Resource II-2-b

    Tool II-1-a
    Tool II-1-b

I want to create a report for DB like this:
Projects (id, details)
Tasks(id, project_id, details)
Resource(id, task_id, details)
Tools(id, task_id, details)

I using group with projects.id and tasks.id and display data successful but can't suppress if no resources nor tools (header) information. Anybody have the solution, please help me.

Project I

Project I details

Task I-1
    Task I-1 details                

    Resource I-1-a         (if tool can display here-
    Resource I-2-b          right of resource is so great)
    Resource I-3-c

    Tool I-1-a
    Tool I-1-b

Task I-1
    Task I-1 details

    Resource I-1-a
    ...

    Tool I-1-a
    ...

Project II

Project II details

Task II-1
    Task II-1 details

    Resource II-1-a
    Resource II-2-b

    Tool II-1-a
    Tool II-1-b

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

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

发布评论

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

评论(1

夜未央樱花落 2024-10-15 07:32:33

抑制空白部分进行操作

您可以使用Section Expert并使用文档中的


。抑制空白部分

只要内容中没有任何内容,“抑制空白部分”属性就会隐藏一个部分。它。如果某些内容被放置在该部分中并且它在报告中产生一个值,那么它就会变得可见

You can use the Section Expert and have a muck around with Supress Blank Section

From the docs..


Suppress Blank Section

The Suppress Blank Section property hides a section whenever there is nothing in it. If something is placed within the section and it produces a value in your report, then it becomes visible

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