<?xml version="1.0"?>
<Reports>
  <FormatVersion>1.0 1.0.0.0</FormatVersion>
  <Report ref="1">
    <Name>OpportunityItem Report</Name>
    <DataSourceName>Main</DataSourceName>
    <ReportInfo>
      <Author>ChrisGu</Author>
    </ReportInfo>
    <Layout>
      <Width>9076</Width>
      <Orientation>Portrait</Orientation>
    </Layout>
    <Font>
      <Name>Constantia</Name>
    </Font>
    <DataSources>
      <DataSource>
        <Name>Main</Name>
        <DataProvider>XmlFile</DataProvider>
        <ConnectionString>InitialData.xml</ConnectionString>
        <RecordSource>OpportunityItem</RecordSource>
        <RecordSourceType>TableDirect</RecordSourceType>
      </DataSource>
    </DataSources>
    <Groups>
      <Group>
        <Name>Level</Name>
        <GroupBy>Level</GroupBy>
        <Sort>Ascending</Sort>
        <KeepTogether>KeepFirstDetail</KeepTogether>
        <OutlineLabel>
          <Expression>Level</Expression>
        </OutlineLabel>
      </Group>
    </Groups>
    <Sections>
      <Section>
        <Name>Detail</Name>
        <Background type="Solid">
          <Color>FFFFFFFF</Color>
        </Background>
        <SubSections>
          <SubSection>
            <Height>280</Height>
          </SubSection>
        </SubSections>
        <Type>Detail</Type>
        <OnPrint>cnt = cnt + 1
if cnt mod 2 = 0 then
  detail.backcolor = rgb(245,245,245)
else
  detail.backcolor = rgb(255,255,255)
endif</OnPrint>
      </Section>
      <Section>
        <Name>Header</Name>
        <Background type="Solid">
          <Color>FFD1EAF0</Color>
        </Background>
        <SubSections>
          <SubSection>
            <Height>840</Height>
          </SubSection>
        </SubSections>
        <Type>Header</Type>
      </Section>
      <Section>
        <Name>Footer</Name>
        <SubSections>
          <SubSection />
        </SubSections>
        <Type>Footer</Type>
      </Section>
      <Section>
        <Name>PageHeader</Name>
        <Background type="Solid">
          <Color>FFFFFFFF</Color>
        </Background>
        <SubSections>
          <SubSection />
        </SubSections>
        <Type>PageHeader</Type>
      </Section>
      <Section>
        <Name>PageFooter</Name>
        <Background type="Solid">
          <Color>FFFFFFFF</Color>
        </Background>
        <SubSections>
          <SubSection>
            <Height>330</Height>
          </SubSection>
        </SubSections>
        <Type>PageFooter</Type>
      </Section>
      <Section>
        <Name>GroupHeader0</Name>
        <Background type="Solid">
          <Color>FFFFFFFF</Color>
        </Background>
        <SubSections>
          <SubSection>
            <Height>945</Height>
          </SubSection>
        </SubSections>
        <Type>GroupHeader1</Type>
        <Repeat>true</Repeat>
        <OnPrint>cnt = 0</OnPrint>
      </Section>
      <Section>
        <Name>GroupFooter0</Name>
        <Background type="Solid">
          <Color>FFF5F5F5</Color>
        </Background>
        <SubSections>
          <SubSection>
            <Height>350</Height>
          </SubSection>
        </SubSections>
        <Type>GroupFooter1</Type>
      </Section>
    </Sections>
    <Fields>
      <TextField>
        <Name>titleLbl</Name>
        <Section>Header</Section>
        <Left>50</Left>
        <Top>200</Top>
        <Width>9025.51181102362</Width>
        <Height>600</Height>
        <Align>LeftMiddle</Align>
        <ForeColor>FF04617B</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>20</Size>
        </Font>
        <Text>
          <Value sys="string">Current Opportunities Report</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>ftrLeft</Name>
        <Section>PageFooter</Section>
        <Left>50</Left>
        <Top>30</Top>
        <Width>4512.75590551181</Width>
        <Height>300</Height>
        <Align>LeftTop</Align>
        <ForeColor>FF04617B</ForeColor>
        <Font>
          <Name>Constantia</Name>
          <Size>8</Size>
        </Font>
        <Text>
          <Expression>Now()</Expression>
        </Text>
      </TextField>
      <TextField>
        <Name>ftrRight</Name>
        <Section>PageFooter</Section>
        <Left>4512.75590551181</Left>
        <Top>30</Top>
        <Width>4512.75590551181</Width>
        <Height>300</Height>
        <Align>RightTop</Align>
        <ForeColor>FF04617B</ForeColor>
        <Font>
          <Name>Constantia</Name>
          <Size>8</Size>
        </Font>
        <Text>
          <Expression>"Page " &amp; [Page] &amp; " of " &amp; [Pages]</Expression>
        </Text>
      </TextField>
      <TextField>
        <Name>LevelLbl</Name>
        <Section>GroupHeader1</Section>
        <Left>0</Left>
        <Top>50</Top>
        <Width>3000</Width>
        <Height>350</Height>
        <Align>LeftBottom</Align>
        <ForeColor>FF04617B</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Constantia</Name>
          <Bold>true</Bold>
        </Font>
        <Text>
          <Value sys="string">Level</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>LevelCtl</Name>
        <Section>GroupHeader1</Section>
        <Left>3000</Left>
        <Top>50</Top>
        <Width>6025</Width>
        <Height>350</Height>
        <Align>LeftBottom</Align>
        <ForeColor>FF04617B</ForeColor>
        <Font>
          <Name>Constantia</Name>
          <Bold>true</Bold>
        </Font>
        <Text>
          <Expression>Level</Expression>
        </Text>
      </TextField>
      <TextField>
        <Name>CustomerLbl</Name>
        <Section>GroupHeader1</Section>
        <Left>550</Left>
        <Top>550</Top>
        <Width>1600</Width>
        <Height>350</Height>
        <Align>LeftBottom</Align>
        <ForeColor>FF04617B</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Constantia</Name>
          <Bold>true</Bold>
        </Font>
        <Text>
          <Value sys="string">Customer</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>DateLbl</Name>
        <Section>GroupHeader1</Section>
        <Left>3610</Left>
        <Top>550</Top>
        <Width>1600</Width>
        <Height>350</Height>
        <Align>LeftBottom</Align>
        <ForeColor>FF04617B</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Constantia</Name>
          <Bold>true</Bold>
        </Font>
        <Text>
          <Value sys="string">Date</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>SalesLbl</Name>
        <Section>GroupHeader1</Section>
        <Left>6685</Left>
        <Top>550</Top>
        <Width>1600</Width>
        <Height>350</Height>
        <Align>LeftBottom</Align>
        <ForeColor>FF04617B</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Constantia</Name>
          <Bold>true</Bold>
        </Font>
        <Text>
          <Value sys="string">Sales</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>CustomerCtl</Name>
        <Section>Detail</Section>
        <Left>550</Left>
        <Top>0</Top>
        <Width>1600</Width>
        <Height>280</Height>
        <Align>LeftTop</Align>
        <Font>
          <Name>Constantia</Name>
        </Font>
        <Text>
          <Expression>Customer</Expression>
        </Text>
      </TextField>
      <TextField>
        <Name>DateCtl</Name>
        <Section>Detail</Section>
        <Left>3610</Left>
        <Top>0</Top>
        <Width>1600</Width>
        <Height>280</Height>
        <Align>LeftTop</Align>
        <Font>
          <Name>Constantia</Name>
        </Font>
        <Text>
          <Expression>[Date]</Expression>
        </Text>
      </TextField>
      <TextField>
        <Name>SalesCtl</Name>
        <Section>Detail</Section>
        <Left>6685</Left>
        <Top>0</Top>
        <Width>1600</Width>
        <Height>280</Height>
        <Align>LeftTop</Align>
        <Font>
          <Name>Constantia</Name>
        </Font>
        <Text>
          <Expression>Sales</Expression>
        </Text>
      </TextField>
      <ImageField>
        <Name>Field1</Name>
        <Section>Header</Section>
        <Left>7076</Left>
        <Top>240</Top>
        <Width>2000</Width>
        <Height>600</Height>
        <Picture>
          <Image> </Image>
        </Picture>
      </ImageField>
      <TextField>
        <Name>LevelLbl1</Name>
        <Section>GroupFooter1</Section>
        <Left>50</Left>
        <Top>0</Top>
        <Width>3000</Width>
        <Height>350</Height>
        <Align>LeftTop</Align>
        <ForeColor>FF04617B</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Constantia</Name>
          <Bold>true</Bold>
        </Font>
        <Text>
          <Value sys="string">Total</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>SalesLbl1</Name>
        <Section>GroupFooter1</Section>
        <Left>6685</Left>
        <Top>0</Top>
        <Width>1600</Width>
        <Height>350</Height>
        <Align>LeftTop</Align>
        <ForeColor>FF04617B</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Constantia</Name>
          <Bold>true</Bold>
        </Font>
        <Text>
          <Expression>Sum(Sales)</Expression>
        </Text>
      </TextField>
    </Fields>
  </Report>
</Reports>