问题描述
我有一份报告列出了公司的详细信息。公司有两个部分细节。第一部分列出了环境数据,第二部分实际上是一个子报告,其中列出了公司每一年的现金流详情。
I have a report which lists out a company detail. There are two sections to the company detail. The first portion lists out environmental data and the second is actually a subreport which lists out Cash flow details for every single year of the company.
我有多家公司这样做 - 所以我按公司分组报告。这就像一个梦想,除了当它涉及到子报告。我有真正的问题,试图让它,使每个公司都有不同的子报告的现金流。任何人都知道如何将子报表包含在一个组中,以便每个公司都有自己的现金流量数据?
I have multiple companies i need to do this for--so i grouped the report by Company. This works like a dream except for when it comes to the subreport. I'm having real issues trying to get it so that every single company has a different subreport of cash flow. Anybody know how to include a subreport into a group so that every company i have has its own data for the cash flow data?
推荐答案
子报表必须带有一个标识公司的参数,主报表将提供该参数。然后通过主报表页面上可用的子报表属性将值链接到参数。
The subreport has to take a parameter that identifies a company, which the main report will provide. Then you link the value to the parameter via the subreport properties available on the main report page.
这篇关于水晶报表:包括一个子报表到分组部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!