重复细节b部分而不影响水晶报告中的细节a和细节c

时间:2014-01-04 12:10:02

标签: crystal-reports crystal-reports-2008 crystal-reports-2010 crystal-reports-8.5

我有两个临时表顺序和项目。单笔订单可能包含多个商品。 我的报告如下:

Detail a
Order1   Order type
Detail b
Item1    itemname

当订单有两个以上的商品时,商品部分应该重复,直到该特定订单的商品结束为止

Detail a
Order1   Order type
Detail b
Item1    itemname
Detail b
Item2   itemname
Detail b
Item3    itemname ……..

但我得到了

Detail a
Order1   Order type
Detail b
Item1    itemname
Detail a
Order1   Order type
Detail b
Item2   itemname

我想在没有任何存储过程的部分专家中进行。

1 个答案:

答案 0 :(得分:0)

在报告中使用两个报告。

1. In detail A use first sub report
2. In detail B use second sub report.

不要在报告中放置任何列,只应将列放在子报告中。

相关问题