【发布时间】:2009-09-28 12:35:49
【问题描述】:
我在 Oracle 中有一个存储过程,它将返回以下内容 下面给出的 5 列排序方式 (ORDER BY) 日期、帐户、资产、金额和类型。
在 Crystal Reports 中,我对过程返回的输出进行了分组 基于日期、帐户和资产列。
水晶报表的输出如下。
Date Account Asset Amount Type
Date1 Account1 Asset1 Amount1 Buy
Date1 Account1 Asset1 Amount1 Sell
Date1 Account1 Asset1 Amount2 Buy
Date1 Account1 Asset1 Amount2 Sell
Date2 Account2 Asset2 Amount3 Buy
Date2 Account2 Asset2 Amount4 Sell
Date2 Account2 Asset2 Amount5 Sell
Date3 Account3 Asset3 Amount6 Buy
Date3 Account3 Asset3 Amount6 Sell
Date4 Account4 Asset4 Amount7 Buy
Date4 Account4 Asset4 Amount7 Buy
Date4 Account4 Asset4 Amount8 Sell
问题:水晶中是否有任何可能的方式来分离第一个 基于仅分组日期列金额的结果组如下, 帐户和资产,使其不会影响另一组输出。 (或)
Date Account Asset Amount Type
Date1 Account1 Asset1 Amount1 Buy
Date1 Account1 Asset1 Amount1 Sell
Date1 Account1 Asset1 Amount2 Buy
Date1 Account1 Asset1 Amount2 Sell
Date2 Account2 Asset2 Amount3 Buy
Date2 Account2 Asset2 Amount4 Sell
Date2 Account2 Asset2 Amount5 Sell
Date3 Account3 Asset3 Amount6 Buy
Date3 Account3 Asset3 Amount6 Sell
Date4 Account4 Asset4 Amount7 Buy
Date4 Account4 Asset4 Amount7 Buy
Date4 Account4 Asset4 Amount8 Sell
【问题讨论】:
-
这个问题需要一个比“水晶报告”更好的标题
标签: crystal-reports