<?xml version="1.0"?>
<Reports>
  <!--Report *** 01: Alternating Background (Greenbar report) ***-->
  <Report version="2.5.20061.196">
    <Name>01: Alternating Background (Greenbar report)</Name>
    <ReportInfo />
    <DataSource>
      <ConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DATADIRECTORY|\C1NWind.mdb;Persist Security Info=False</ConnectionString>
      <RecordSource>SELECT Categories.*, Products.*
FROM Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryID;
</RecordSource>
    </DataSource>
    <Layout />
    <Font>
      <Name>Verdana</Name>
      <Size>9</Size>
    </Font>
    <Groups>
      <Group>
        <Name>CategoryName</Name>
        <GroupBy>CategoryName</GroupBy>
        <Sort>1</Sort>
        <KeepTogether>2</KeepTogether>
      </Group>
    </Groups>
    <Sections>
      <Section>
        <Name>Detail</Name>
        <Type>0</Type>
        <Height>240</Height>
        <OnPrint>cnt = cnt + 1
if cnt mod 2 = 0 then
  detail.backcolor = rgb(200,220,200)
else
  detail.backcolor = rgb(255,255,255)
endif</OnPrint>
      </Section>
      <Section>
        <Name>Header</Name>
        <Type>1</Type>
        <Height>2075</Height>
        <BackColor>11829830</BackColor>
      </Section>
      <Section>
        <Name>Footer</Name>
        <Type>2</Type>
        <Visible>0</Visible>
      </Section>
      <Section>
        <Name>PageHeader</Name>
        <Type>3</Type>
        <Visible>0</Visible>
      </Section>
      <Section>
        <Name>PageFooter</Name>
        <Type>4</Type>
        <Height>555</Height>
      </Section>
      <Section>
        <Name>GroupHeader0</Name>
        <Type>5</Type>
        <Height>2200</Height>
        <Repeat>-1</Repeat>
        <OnPrint>cnt = 0</OnPrint>
      </Section>
      <Section>
        <Name>GroupFooter0</Name>
        <Type>6</Type>
        <Visible>0</Visible>
      </Section>
    </Sections>
    <Fields>
      <Field>
        <Name>titleLbl</Name>
        <Section>1</Section>
        <Text>Alternating Background
(Greenbar report)</Text>
        <Top>195</Top>
        <Width>9360</Width>
        <Height>1065</Height>
        <Align>6</Align>
        <ForeColor>16777215</ForeColor>
        <Font>
          <Bold>-1</Bold>
          <Name>Verdana</Name>
          <Size>18</Size>
        </Font>
      </Field>
      <Field>
        <Name>ftrLeft</Name>
        <Section>4</Section>
        <Text>Now()</Text>
        <Calculated>-1</Calculated>
        <Top>255</Top>
        <Width>4680</Width>
        <Height>300</Height>
        <Align>0</Align>
        <Font>
          <Name>Verdana</Name>
          <Size>8.25</Size>
        </Font>
      </Field>
      <Field>
        <Name>ftrRight</Name>
        <Section>4</Section>
        <Text>"Page " &amp; [Page] &amp; " of " &amp; [Pages]</Text>
        <Calculated>-1</Calculated>
        <Left>4680</Left>
        <Top>255</Top>
        <Width>4680</Width>
        <Height>300</Height>
        <Align>2</Align>
        <Font>
          <Name>Verdana</Name>
          <Size>8.25</Size>
        </Font>
      </Field>
      <Field>
        <Name>CategoryNameLbl</Name>
        <Section>5</Section>
        <Text>CategoryName</Text>
        <Calculated>-1</Calculated>
        <Left>1260</Left>
        <Top>720</Top>
        <Width>8100</Width>
        <Height>345</Height>
        <Align>3</Align>
        <ForeColor>11829830</ForeColor>
        <WordWrap>0</WordWrap>
        <Font>
          <Bold>-1</Bold>
          <Name>Verdana</Name>
          <Size>14.25</Size>
        </Font>
      </Field>
      <Field>
        <Name>ProductNameLbl</Name>
        <Section>5</Section>
        <Text>Product Name</Text>
        <Left>435</Left>
        <Top>1755</Top>
        <Width>3345</Width>
        <Height>345</Height>
        <Align>3</Align>
        <ForeColor>11829830</ForeColor>
        <WordWrap>0</WordWrap>
        <Font>
          <Bold>-1</Bold>
          <Name>Verdana</Name>
          <Size>9</Size>
        </Font>
      </Field>
      <Field>
        <Name>QuantityPerUnitLbl</Name>
        <Section>5</Section>
        <Text>Quantity Per Unit</Text>
        <Left>3760</Left>
        <Top>1750</Top>
        <Width>2486</Width>
        <Height>350</Height>
        <Align>3</Align>
        <ForeColor>11829830</ForeColor>
        <WordWrap>0</WordWrap>
        <Font>
          <Bold>-1</Bold>
          <Name>Verdana</Name>
          <Size>9</Size>
        </Font>
      </Field>
      <Field>
        <Name>UnitPriceLbl</Name>
        <Section>5</Section>
        <Text>Unit Price</Text>
        <Left>6286</Left>
        <Top>1750</Top>
        <Width>1381</Width>
        <Height>350</Height>
        <Align>5</Align>
        <ForeColor>11829830</ForeColor>
        <WordWrap>0</WordWrap>
        <Font>
          <Bold>-1</Bold>
          <Name>Verdana</Name>
          <Size>9</Size>
        </Font>
      </Field>
      <Field>
        <Name>UnitsInStockLbl</Name>
        <Section>5</Section>
        <Text>In Stock</Text>
        <Left>7680</Left>
        <Top>1755</Top>
        <Width>1320</Width>
        <Height>345</Height>
        <Align>5</Align>
        <ForeColor>11829830</ForeColor>
        <WordWrap>0</WordWrap>
        <Font>
          <Bold>-1</Bold>
          <Name>Verdana</Name>
          <Size>9</Size>
        </Font>
      </Field>
      <Field>
        <Name>ProductNameCtl</Name>
        <Section>0</Section>
        <Text>ProductName</Text>
        <Calculated>-1</Calculated>
        <Left>435</Left>
        <Width>3345</Width>
        <Height>240</Height>
        <Align>0</Align>
        <CanGrow>-1</CanGrow>
      </Field>
      <Field>
        <Name>QuantityPerUnitCtl</Name>
        <Section>0</Section>
        <Text>QuantityPerUnit</Text>
        <Calculated>-1</Calculated>
        <Left>3760</Left>
        <Width>2486</Width>
        <Height>240</Height>
        <Align>0</Align>
        <CanGrow>-1</CanGrow>
      </Field>
      <Field>
        <Name>UnitPriceCtl</Name>
        <Section>0</Section>
        <Text>UnitPrice</Text>
        <Calculated>-1</Calculated>
        <Format>Currency</Format>
        <Left>6286</Left>
        <Width>1381</Width>
        <Height>240</Height>
        <Align>2</Align>
      </Field>
      <Field>
        <Name>UnitsInStockCtl</Name>
        <Section>0</Section>
        <Text>UnitsInStock</Text>
        <Calculated>-1</Calculated>
        <Left>7680</Left>
        <Width>1320</Width>
        <Height>240</Height>
        <Align>2</Align>
      </Field>
      <Field>
        <Name>divLine</Name>
        <Section>5</Section>
        <Top>2140</Top>
        <Width>9360</Width>
        <Height>60</Height>
        <BackColor>0</BackColor>
        <BackStyle>1</BackStyle>
      </Field>
      <Field>
        <Name>Field1</Name>
        <Section>1</Section>
        <Text>This report uses the OnPrint event of the detail section to alternate the BackColor property of the section.</Text>
        <Top>1440</Top>
        <Width>9270</Width>
        <Height>540</Height>
        <ForeColor>16777215</ForeColor>
        <MarginLeft>200</MarginLeft>
        <CanGrow>-1</CanGrow>
      </Field>
      <Field>
        <Name>Field2</Name>
        <Section>5</Section>
        <Top>720</Top>
        <Width>1170</Width>
        <Height>900</Height>
        <Picture>Picture</Picture>
        <PictureScale>2</PictureScale>
      </Field>
      <Field>
        <Name>QuantityPerUnitLbl1</Name>
        <Section>5</Section>
        <Text>Description</Text>
        <Calculated>-1</Calculated>
        <Left>1260</Left>
        <Top>1095</Top>
        <Width>8010</Width>
        <Height>525</Height>
        <Align>0</Align>
        <ForeColor>11829830</ForeColor>
        <WordWrap>0</WordWrap>
        <Font>
          <Bold>-1</Bold>
          <Name>Verdana</Name>
          <Size>9.75</Size>
        </Font>
      </Field>
      <Field>
        <Name>Field</Name>
        <Section>4</Section>
        <Top>225</Top>
        <Width>9345</Width>
        <Height>30</Height>
        <BorderStyle>1</BorderStyle>
        <LineSlant>1</LineSlant>
      </Field>
    </Fields>
  </Report>
</Reports>