【发布时间】:2011-03-12 00:38:08
【问题描述】:
我有一个带有表格作为数据源的 Crystal 报表,我想包含另一个带有报表页脚详细信息的表格。
I have two data sources in the report which are not linked, but when the selection criteria returns no rows from the main table, the results from the non-empty non-linked source are also empty.
我怀疑它在两个数据源之间进行交叉连接,所以如果一个是空的,那么与另一个连接的也是空的。问题是我需要非空表中的行显示在报表页脚部分中,并且它们被另一个空数据源抑制。
How can I get rows from an independent table to show in the report footer when the selection criteria and their parameter choices return an empty result set in the main table?
感谢您的帮助,
-贝丝
另外,我尝试使用这样的命令作为数据源和 sql:
select * from waitlist
union all
select distinct null as reportID, null as ..., lastupdated
from waitlist
但它仍然为 lastupdated 返回 null 并在报表页脚中隐藏子报表。
【问题讨论】:
-
您清除了数据库专家中的所有链接吗?
-
是的。我想出了我需要做什么。我会用那个方法来回答这个问题。
标签: crystal-reports