0

我有表像下面總結和在同一份報告中記錄的詳細信息部分

 
ParkingLot Vehicle City Two/Four Owner Date  Fee 
p1   v1  c1  Two  xxx  01-OCT-14 10 
p1   v1  c1  Two  yyy  01-OCT-14 11 
p1   v1  c1  Four  zzz  01-OCT-14 12 
p1   v1  c2  Two  aaa  01-OCT-14 13 
p1   v1  c2  Two  yyy  01-OCT-14 11 
p1   v1  c2  Four  ddd  01-OCT-14 18 
p1   v2  c1  Two  fff  01-OCT-14 20 
p1   v2  c1  Two  yyy  01-OCT-14 10 
p1   v2  c1  Four  hhh  01-OCT-14 10 
p1   v2  c2  Two  xxx  01-OCT-14 54 
p1   v2  c2  Two  iii  01-OCT-14 10 
p1   v2  c2  Four  zzz  01-OCT-14 66 
p1   v1  c1  Two  xxx  02-OCT-14 66 
p1   v1  c1  Two  yyy  02-OCT-14 2 
p1   v1  c1  Four  zzz  02-OCT-14 44 
p1   v1  c2  Two  aaa  02-OCT-14 11 
p1   v1  c2  Two  yyy  02-OCT-14 11 
p1   v1  c2  Four  ddd  02-OCT-14 18 
p1   v2  c1  Two  fff  02-OCT-14 44 
p1   v2  c1  Two  yyy  02-OCT-14 10 
p1   v2  c1  Four  hhh  02-OCT-14 88 
p1   v2  c2  Two  xxx  02-OCT-14 54 
p1   v2  c2  Two  iii  02-OCT-14 10 
p1   v2  c2  Four  zzz  02-OCT-14 33 
.......... 

以下格式

 
SUMMARY 
P1 

v1 
ParkingLot Vehicle City 01-OCT-14 02-OCT-14 
p1   v1  c1  33   112 
p1   v1  c2  42   40 
p1   v1 Total  66   152 

v2 
ParkingLot Vehicle City 01-OCT-14 02-OCT-14 
p1   v2  c1  40   142 
p1   v2  c2  130   97 
p1   v2 Total  170   239 

DETAILS 
v1 
ParkingLot Vehicle City Two/Four Owner 01-OCT-14 02-OCT-14 
p1   v1  c1  Two  xxx  10   66 
p1   v1  c1  Two  yyy  11   2 
p1   v1  c1  Two  Total 21   68 
p1   v1  c1  Four  zzz  12   44 
p1   v1  c1  Four  Total 12   44 
p1   v1  c1  ALL  Total 33   112 

p1   v1  c2  Two  aaa  13   11 
p1   v1  c2  Two  yyy  11   11 
p1   v1  c2  Two  Total 24   22 
p1   v1  c2  Four  ddd  18   18 
p1   v1  c2  Four  Total 18   18 
p1   v1  c1  ALL  Total 42   40 

p1   v1  ALL ALL  Total 66   152 


v2 
ParkingLot Vehicle City Two/Four Owner 01-OCT-14 02-OCT-14 
p1   v2  c1  Two  fff  20   44 
p1   v2  c1  Two  yyy  10   10 
p1   v2  c1  Two  Total 30   54 
p1   v2  c1  Four  hhh  10   88 
p1   v2  c1  Four  Total 10   88 
p1   v2  c1  ALL  Total 40   142 

p1   v2  c2  Two  xxx  54   54 
p1   v2  c2  Two  iii  10   10 
p1   v2  c2  Two  Total 64   64 
p1   v2  c2  Four  zzz  66   33 
p1   v2  c2  Four  Total 66   33 
p1   v2  c2  ALL  Total 130   97 

p1   v2  ALL ALL  Total 170   239 

這個數據,我需要在Crystal Reports在起初我與製作報表嘗試詳細內容部分和主要的彙總報告。 我順利地拿到了想要的結果,而不交叉表...

但這麼多的P1,P2,P3 .....在那裏它會調用子端口每個和P 的每一個細節scetion它會給性能的影響...

請讓我知道如何提前

+0

我不明白爲什麼'subreport'將被調用很多次? – Siva 2014-10-31 14:35:40

+0

,因爲我確實有像上面那樣的記錄,不僅僅是P1爲p2,p3,p4 ........直到p1000。我在p1組頁腳中保存了子報表..因爲對於每個停車位我都需要摘要和詳細信息部分.. – user1912935 2014-10-31 14:44:43

回答

0

使用製作報表的細節部分和總結主要報告了同樣的想法做這單報告,用了交叉表

謝謝,但在你的子報告中創建一個Vehicle,你會得到即使你擁有數百輛不同的車輛,願望的結果也是如此。該子報告將被放置在您的report footer,所以它會出現在您的summary

相關問題