<?xml version="1.0"?>
<Reports>
  <FormatVersion>1.0 1.0.0.0</FormatVersion>
  <Report ref="1">
    <Name>AlternateBackground</Name>
    <DataSourceName>Main</DataSourceName>
    <Layout>
      <Width>10800</Width>
      <Margin>720</Margin>
      <MarginTop>720</MarginTop>
      <MarginRight>720</MarginRight>
      <MarginBottom>720</MarginBottom>
      <Orientation>Portrait</Orientation>
      <PaperSize>Letter</PaperSize>
    </Layout>
    <Font>
      <Name>Verdana</Name>
    </Font>
    <DataSources>
      <DataSource>
        <Name>Main</Name>
        <DataProvider>OLEDB</DataProvider>
        <ConnectionString>Provider=SQLNCLI11;Integrated Security=SSPI;Data Source=(localdb)\v11.0;Initial File Name=|DataDirectory|\C1NWind.mdf;Persist Security Info=False</ConnectionString>
        <RecordSourceType>Text</RecordSourceType>
        <RecordSource>SELECT Categories.*, Products.*
FROM Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryID;
</RecordSource>
      </DataSource>
    </DataSources>
    <Groups>
      <Group>
        <Name>CategoryName</Name>
        <GroupBy>CategoryName</GroupBy>
        <Sort>Ascending</Sort>
        <KeepTogether>KeepFirstDetail</KeepTogether>
        <OutlineLabel>
          <Expression>CategoryName</Expression>
        </OutlineLabel>
      </Group>
    </Groups>
    <Sections>
      <Section>
        <Name>Detail</Name>
        <SubSections>
          <SubSection>
            <Border>
              <Bottom>
                <Style>Solid</Style>
                <Width>15</Width>
                <Color>FFE4E4E4</Color>
              </Bottom>
            </Border>
            <Height>336</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>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>2507</Height>
          </SubSection>
        </SubSections>
        <Type>Header</Type>
      </Section>
      <Section>
        <Name>Footer</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>Footer</Type>
        <Visible>false</Visible>
      </Section>
      <Section>
        <Name>PageHeader</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>PageHeader</Type>
        <Visible>false</Visible>
      </Section>
      <Section>
        <Name>PageFooter</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>180</Height>
          </SubSection>
          <SubSection>
            <Border>
              <Top>
                <Style>Solid</Style>
                <Width>15</Width>
                <Color>FFD9D9D9</Color>
              </Top>
            </Border>
            <Height>300</Height>
          </SubSection>
        </SubSections>
        <Type>PageFooter</Type>
      </Section>
      <Section>
        <Name>GroupHeader0</Name>
        <SubSections>
          <SubSection>
            <Height>180</Height>
          </SubSection>
          <SubSection>
            <Background type="Solid">
              <Color>FFF1F1F1</Color>
            </Background>
            <Height>2120</Height>
          </SubSection>
        </SubSections>
        <Type>GroupHeader1</Type>
        <Repeat>true</Repeat>
        <OnPrint>cnt = 0</OnPrint>
      </Section>
      <Section>
        <Name>GroupFooter0</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>GroupFooter1</Type>
        <Visible>false</Visible>
      </Section>
    </Sections>
    <Fields>
      <TextField>
        <Name>Field2</Name>
        <Background type="Solid">
          <Color>FFF1F1F1</Color>
        </Background>
        <Section>Header</Section>
        <Left>0</Left>
        <Top>0</Top>
        <Width>6670</Width>
        <Height>1110</Height>
        <MarginLeft>500</MarginLeft>
        <Align>LeftMiddle</Align>
        <ForeColor>FF551E5F</ForeColor>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>23</Size>
        </Font>
        <Text>
          <Value sys="string">Alternating Background</Value>
        </Text>
      </TextField>
      <ImageField>
        <Name>Field5</Name>
        <Background type="Solid">
          <Color>FFF1F1F1</Color>
        </Background>
        <Section>Header</Section>
        <Left>6570</Left>
        <Top>0</Top>
        <Width>4230</Width>
        <Height>1110</Height>
        <PictureAlign>RightTop</PictureAlign>
        <PictureScale>Scale</PictureScale>
        <Picture>
          <Image> </Image>
        </Picture>
      </ImageField>
      <TextField>
        <Name>Field8</Name>
        <Section>Header</Section>
        <Left>0</Left>
        <Top>1380</Top>
        <Width>5132</Width>
        <Height>435</Height>
        <MarginLeft>500</MarginLeft>
        <Align>LeftMiddle</Align>
        <ForeColor>FF551E5F</ForeColor>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>12</Size>
        </Font>
        <Text>
          <Expression>Now()</Expression>
        </Text>
        <Format>Long Date</Format>
      </TextField>
      <ParagraphField>
        <Name>Field9</Name>
        <Section>Header</Section>
        <Left>0</Left>
        <Top>1982</Top>
        <Width>10755</Width>
        <Height>525</Height>
        <MarginLeft>500</MarginLeft>
        <MarginRight>500</MarginRight>
        <AutoHeight>GrowAndShrink</AutoHeight>
        <Align>LeftTop</Align>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>10.5</Size>
        </Font>
        <Content>
          <ParagraphText>
            <Text>
              <Value sys="string">This report uses the </Value>
            </Text>
          </ParagraphText>
          <ParagraphText>
            <Font>
              <Name>Segoe UI Light</Name>
              <Size>10.5</Size>
              <Bold>true</Bold>
            </Font>
            <Text>
              <Value sys="string">OnPrint</Value>
            </Text>
          </ParagraphText>
          <ParagraphText>
            <Text>
              <Value sys="string"> event of the detail section to alternate the </Value>
            </Text>
          </ParagraphText>
          <ParagraphText>
            <Font>
              <Name>Segoe UI Light</Name>
              <Size>10.5</Size>
              <Bold>true</Bold>
            </Font>
            <Text>
              <Value sys="string">BackColor</Value>
            </Text>
          </ParagraphText>
          <ParagraphText>
            <Text>
              <Value sys="string"> property of the section.</Value>
            </Text>
          </ParagraphText>
        </Content>
      </ParagraphField>
      <ImageField>
        <Name>Field7</Name>
        <Section>GroupHeader1</Section>
        <SubSectionIndex>1</SubSectionIndex>
        <Left>180</Left>
        <Top>90</Top>
        <Width>2106</Width>
        <Height>1170</Height>
        <PictureScale>Scale</PictureScale>
        <Picture>
          <Expression>Picture</Expression>
        </Picture>
      </ImageField>
      <TextField>
        <Name>Field10</Name>
        <Section>GroupHeader1</Section>
        <SubSectionIndex>1</SubSectionIndex>
        <Left>2466</Left>
        <Top>90</Top>
        <Width>8109</Width>
        <Height>542</Height>
        <Align>LeftMiddle</Align>
        <ForeColor>FF551E5F</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>14.5</Size>
        </Font>
        <Text>
          <Expression>CategoryName</Expression>
        </Text>
      </TextField>
      <TextField>
        <Name>Field11</Name>
        <Section>GroupHeader1</Section>
        <SubSectionIndex>1</SubSectionIndex>
        <Left>2436</Left>
        <Top>722</Top>
        <Width>8139</Width>
        <Height>538</Height>
        <Align>LeftTop</Align>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>10.5</Size>
        </Font>
        <Text>
          <Expression>Description</Expression>
        </Text>
      </TextField>
      <TextField>
        <Name>Field12</Name>
        <Section>GroupHeader1</Section>
        <SubSectionIndex>1</SubSectionIndex>
        <Left>180</Left>
        <Top>1350</Top>
        <Width>4245</Width>
        <Height>654</Height>
        <Align>LeftMiddle</Align>
        <ForeColor>FF551E5F</ForeColor>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>12</Size>
        </Font>
        <Text>
          <Value sys="string">Product Name</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>Field13</Name>
        <Section>GroupHeader1</Section>
        <SubSectionIndex>1</SubSectionIndex>
        <Left>4425</Left>
        <Top>1350</Top>
        <Width>2100</Width>
        <Height>654</Height>
        <Align>RightMiddle</Align>
        <ForeColor>FF551E5F</ForeColor>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>12</Size>
        </Font>
        <Text>
          <Value sys="string">Quantity Per Unit</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>Field14</Name>
        <Section>GroupHeader1</Section>
        <SubSectionIndex>1</SubSectionIndex>
        <Left>6525</Left>
        <Top>1350</Top>
        <Width>1770</Width>
        <Height>654</Height>
        <Align>RightMiddle</Align>
        <ForeColor>FF551E5F</ForeColor>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>12</Size>
        </Font>
        <Text>
          <Value sys="string">Unit Price</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>Field15</Name>
        <Section>GroupHeader1</Section>
        <SubSectionIndex>1</SubSectionIndex>
        <Left>8295</Left>
        <Top>1350</Top>
        <Width>2280</Width>
        <Height>654</Height>
        <Align>RightMiddle</Align>
        <ForeColor>FF551E5F</ForeColor>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>12</Size>
        </Font>
        <Text>
          <Value sys="string">In Stock</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>Field1</Name>
        <Section>Detail</Section>
        <Left>180</Left>
        <Top>0</Top>
        <Width>4245</Width>
        <Height>336</Height>
        <Align>LeftMiddle</Align>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>10</Size>
          <GdiCharSet>0</GdiCharSet>
        </Font>
        <Text>
          <Expression>left(ProductName, 30)</Expression>
        </Text>
      </TextField>
      <TextField>
        <Name>Field3</Name>
        <Section>Detail</Section>
        <Left>4425</Left>
        <Top>0</Top>
        <Width>2100</Width>
        <Height>336</Height>
        <Align>RightMiddle</Align>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>10</Size>
          <GdiCharSet>0</GdiCharSet>
        </Font>
        <Text>
          <Expression>QuantityPerUnit</Expression>
        </Text>
      </TextField>
      <TextField>
        <Name>Field4</Name>
        <Section>Detail</Section>
        <Left>6570</Left>
        <Top>0</Top>
        <Width>1725</Width>
        <Height>336</Height>
        <Align>RightMiddle</Align>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>10</Size>
          <GdiCharSet>0</GdiCharSet>
        </Font>
        <Text>
          <Expression>UnitPrice</Expression>
        </Text>
        <Format>Currency</Format>
      </TextField>
      <TextField>
        <Name>Field16</Name>
        <Section>Detail</Section>
        <Left>8295</Left>
        <Top>0</Top>
        <Width>2280</Width>
        <Height>336</Height>
        <Align>RightMiddle</Align>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>10</Size>
          <GdiCharSet>0</GdiCharSet>
        </Font>
        <Text>
          <Expression>UnitsInStock</Expression>
        </Text>
      </TextField>
      <TextField>
        <Name>Field25</Name>
        <Section>PageFooter</Section>
        <SubSectionIndex>1</SubSectionIndex>
        <Left>5895</Left>
        <Top>0</Top>
        <Width>4905</Width>
        <Height>300</Height>
        <Align>RightMiddle</Align>
        <ForeColor>FF666666</ForeColor>
        <Font>
          <Name>Segoe UI</Name>
          <Size>8</Size>
        </Font>
        <Text>
          <Expression>"Page " &amp; [Page] &amp; " of " &amp; [Pages]</Expression>
        </Text>
      </TextField>
    </Fields>
    <Culture>en-US</Culture>
  </Report>
</Reports>