我有一份相当复杂的报告。我已经设法创建它,直到第一个子报告。现在我必须在第二个子报表'水平'中总结第一个子报表的字段。
1) 我如何将子报告 1 中的字段传递到子报告 2 (名称和总数)并水平/每年列出它们?
2)如何让每个摘要以(Client1,Year1...YearN)的方式显示。如果我为第二个子报告插入一个部分,它会在 (Client1,Year1) 之后显示第二个子报告。我在部分专家之后设置了页面,但它不是我想要的顺序:|
我想在 (client1,Year1--------YearN) 之后显示此部分
报告的设计方式类似于
Main Report
----
Sub Report 1
Group (Client 1 Year 1)
--------------------------------
Name Amount TotalAmount
--------------------------------
John 1,000 300,000,000
End of Page
----------------------------------
(Client 1 Year 2)
--------------------------------
Name Amount TotalAmount
--------------------------------
John 5,000 400,000,000
End of Page
----------------------------------
Group (Client 2 Year 1)
--------------------------------
Name Amount TotalAmount
--------------------------------
Stevens 1,000 10,000,000
End of Page
----------------------------------
(Client 2 Year 2)
--------------------------------
Name Amount TotalAmount
--------------------------------
Stevens 2,000 40,000
End of Page
----------------------------------
End Sub Report 1
-----
Sub Report 2
----------------------------------------------------------------
Name TotalAmount TotalAmount ....... TotalAmount
-----------------------------------------------------------------
John Year1(TotalAmount) Year2(TotalAmount).... YearnN(TotalAmount)
Stevens Year1(TotalAmount) Year2(TotalAmount).... YearnN(TotalAmount)
End Sub Report 2