2009-08-27 65 views
0

我的業務分析師已經創建了7份報告(使用報表生成器),他們希望合併成一份MEGA報告。我一直試圖通過將它們全部包裝在子報表中(您無法在Report Builder 1.0中使用)來完成此操作。雖然所有報告都顯示出來,但佈局卻遍佈各處。子報表似乎重新排序。如何控制子報表佈局?

我已經下降到只使用兩個報告來嘗試隔離錯誤。運行時,subreport2出現在subreport1之上。

我需要對我的報告(或兒童報告)進行哪些更改才能讓它們按順序顯示?

<?xml version="1.0" encoding="utf-8"?> 
<Report xmlns="schema"> 
    <InteractiveHeight>11in</InteractiveHeight> 
    <rd:DrawGrid>true</rd:DrawGrid> 
    <InteractiveWidth>8.5in</InteractiveWidth> 
    <rd:SnapToGrid>true</rd:SnapToGrid> 
    <RightMargin>1in</RightMargin> 
    <LeftMargin>1in</LeftMargin> 
    <BottomMargin>1in</BottomMargin> 
    <rd:ReportID>480f6105-cb4d-4969-b530-81ab5a5e3fb8</rd:ReportID> 
    <Width>8.5in</Width> 
    <Body> 
    <ReportItems> 
     <Subreport Name="subreport1"> 
     <ReportName>Report1</ReportName> 
     </Subreport> 
     <Subreport Name="subreport2"> 
     <ReportName>Report2</ReportName> 
     </Subreport> 
    </ReportItems> 
    <Height>0.5in</Height> 
    </Body> 
    <Language>en-US</Language> 
    <TopMargin>1in</TopMargin> 
    </Report> 

回答

0
  1. 添加表
  2. 將每個子報表在其自己的表格單元
  3. 組織細胞所需的佈局