<?xml version="1.0"?>
<Reports>
  <FormatVersion>1.0 1.0.0.0</FormatVersion>
  <Report ref="1">
    <Name>Alternating Background (Greenbar report)</Name>
    <DataSourceName>Main</DataSourceName>
    <Layout>
      <Width>9255</Width>
      <Orientation>Portrait</Orientation>
      <PaperSize>A4</PaperSize>
    </Layout>
    <Font>
      <Name>Verdana</Name>
      <Size>9</Size>
      <Bold>false</Bold>
      <Italic>false</Italic>
      <Underline>false</Underline>
      <Strikethrough>false</Strikethrough>
      <GdiCharSet>1</GdiCharSet>
    </Font>
    <DataSources>
      <DataSource>
        <Name>Main</Name>
        <DataProvider>SQLite</DataProvider>
        <ConnectionString>Data Source=?(SpecialFolder.SystemDefault)\C1NWind.db</ConnectionString>
        <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>
            <Name>SubSection1</Name>
            <Height>240</Height>
          </SubSection>
        </SubSections>
        <Type>Detail</Type>
        <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>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>2615</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>555</Height>
          </SubSection>
        </SubSections>
        <Type>PageFooter</Type>
      </Section>
      <Section>
        <Name>GroupHeader0</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>2205</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>
      <Field>
        <Name>titleLbl</Name>
        <Border>
          <Left>
            <Color>FF0000FF</Color>
          </Left>
          <Top>
            <Color>FF0000FF</Color>
          </Top>
          <Right>
            <Color>FF0000FF</Color>
          </Right>
          <Bottom>
            <Color>FF0000FF</Color>
          </Bottom>
        </Border>
        <Background type="Solid">
          <Color>FFFFFFFF</Color>
        </Background>
        <Section>Header</Section>
        <Left>60</Left>
        <Top>765</Top>
        <Width>4110</Width>
        <Height>1065</Height>
        <Text>Alternating Background
(Greenbar report)</Text>
        <Align>LeftMiddle</Align>
        <ForeColor>FF0070C0</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>18</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>ftrRight</Name>
        <Section>PageFooter</Section>
        <Left>6000</Left>
        <Top>255</Top>
        <Width>3135</Width>
        <Height>300</Height>
        <Text>"Page " &amp; [Page] &amp; " of " &amp; [Pages]</Text>
        <Calculated>true</Calculated>
        <Align>RightTop</Align>
        <Font>
          <Name>Calibri</Name>
          <Size>9</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>CategoryNameLbl</Name>
        <Background type="Solid">
          <Color>FF0070C0</Color>
        </Background>
        <Section>GroupHeader1</Section>
        <Left>1185</Left>
        <Top>720</Top>
        <Width>8025</Width>
        <Height>345</Height>
        <Text>CategoryName</Text>
        <Calculated>true</Calculated>
        <Align>LeftBottom</Align>
        <ForeColor>FFFFFFFF</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>14.25</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>ProductNameLbl</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Bottom>
        </Border>
        <Background type="Solid">
          <Color>FFFFFFFF</Color>
        </Background>
        <Section>GroupHeader1</Section>
        <Left>75</Left>
        <Top>1755</Top>
        <Width>3345</Width>
        <Height>345</Height>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Text>Product Name</Text>
        <Align>LeftBottom</Align>
        <ForeColor>FF4F6228</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>true</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>QuantityPerUnitLbl</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Bottom>
        </Border>
        <Background type="Solid">
          <Color>FFFFFFFF</Color>
        </Background>
        <Section>GroupHeader1</Section>
        <Left>3570</Left>
        <Top>1755</Top>
        <Width>2486</Width>
        <Height>345</Height>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Text>Quantity Per Unit</Text>
        <Align>LeftBottom</Align>
        <ForeColor>FF4F6228</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>true</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>UnitPriceLbl</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Bottom>
        </Border>
        <Background type="Solid">
          <Color>FFFFFFFF</Color>
        </Background>
        <Section>GroupHeader1</Section>
        <Left>6210</Left>
        <Top>1770</Top>
        <Width>1381</Width>
        <Height>345</Height>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Text>Unit Price</Text>
        <Align>RightBottom</Align>
        <ForeColor>FF4F6228</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>true</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>UnitsInStockLbl</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFFFFFFF</Color>
          </Bottom>
        </Border>
        <Background type="Solid">
          <Color>FFFFFFFF</Color>
        </Background>
        <Section>GroupHeader1</Section>
        <Left>8037</Left>
        <Top>1755</Top>
        <Width>1095</Width>
        <Height>345</Height>
        <MarginLeft>60</MarginLeft>
        <MarginRight>60</MarginRight>
        <Text>In Stock</Text>
        <Align>RightBottom</Align>
        <ForeColor>FF4F6228</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>true</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>ProductNameCtl</Name>
        <Section>Detail</Section>
        <Left>135</Left>
        <Top>0</Top>
        <Width>3345</Width>
        <Height>240</Height>
        <AutoHeight>CanGrow</AutoHeight>
        <Text>ProductName</Text>
        <Calculated>true</Calculated>
        <Align>LeftTop</Align>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>QuantityPerUnitCtl</Name>
        <Section>Detail</Section>
        <Left>3570</Left>
        <Top>0</Top>
        <Width>2486</Width>
        <Height>240</Height>
        <AutoHeight>CanGrow</AutoHeight>
        <Text>QuantityPerUnit</Text>
        <Calculated>true</Calculated>
        <Align>LeftTop</Align>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>UnitPriceCtl</Name>
        <Section>Detail</Section>
        <Left>6286</Left>
        <Top>0</Top>
        <Width>1381</Width>
        <Height>240</Height>
        <Text>UnitPrice</Text>
        <Calculated>true</Calculated>
        <Format>Currency</Format>
        <Align>RightTop</Align>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>UnitsInStockCtl</Name>
        <Section>Detail</Section>
        <Left>7905</Left>
        <Top>0</Top>
        <Width>1095</Width>
        <Height>240</Height>
        <Text>UnitsInStock</Text>
        <Calculated>true</Calculated>
        <Align>RightTop</Align>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>Field1</Name>
        <Background type="Solid">
          <Color>FFFFFFFF</Color>
        </Background>
        <Section>Header</Section>
        <Left>0</Left>
        <Top>2010</Top>
        <Width>8925</Width>
        <Height>540</Height>
        <MarginLeft>200</MarginLeft>
        <AutoHeight>CanGrow</AutoHeight>
        <Text>This report uses the OnPrint event of the detail section to alternate the BackColor property of the section.</Text>
        <Font>
          <Name>Calibri</Name>
          <Size>11.25</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>Field2</Name>
        <Section>GroupHeader1</Section>
        <Left>0</Left>
        <Top>720</Top>
        <Width>1170</Width>
        <Height>900</Height>
        <PictureScale>Scale</PictureScale>
        <Picture>
          <Expression>Picture</Expression>
        </Picture>
      </Field>
      <Field>
        <Name>QuantityPerUnitLbl1</Name>
        <Background type="Solid">
          <Color>FFB7DEE8</Color>
        </Background>
        <Section>GroupHeader1</Section>
        <Left>1215</Left>
        <Top>1095</Top>
        <Width>8010</Width>
        <Height>525</Height>
        <Text>Description</Text>
        <Calculated>true</Calculated>
        <Align>LeftTop</Align>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>Field</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>30</Width>
            <Color>FF0070C0</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>30</Width>
            <Color>FF0070C0</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>30</Width>
            <Color>FF0070C0</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>30</Width>
            <Color>FF0070C0</Color>
          </Bottom>
        </Border>
        <Section>PageFooter</Section>
        <Left>0</Left>
        <Top>225</Top>
        <Width>9120</Width>
        <Height>30</Height>
        <Shape type="LineShape" />
      </Field>
      <Field>
        <Name>Field3</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>30</Width>
            <Color>FF0070C0</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>30</Width>
            <Color>FF0070C0</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>30</Width>
            <Color>FF0070C0</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>30</Width>
            <Color>FF0070C0</Color>
          </Bottom>
        </Border>
        <Section>Header</Section>
        <Left>60</Left>
        <Top>1905</Top>
        <Width>9195</Width>
        <Height>75</Height>
        <Shape type="LineShape" />
      </Field>
      <Field>
        <Name>ftrLeft1</Name>
        <Section>Header</Section>
        <Left>6570</Left>
        <Top>1530</Top>
        <Width>2235</Width>
        <Height>225</Height>
        <Text>Now()</Text>
        <Calculated>true</Calculated>
        <Align>LeftTop</Align>
        <ForeColor>FF0070C0</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>Field4</Name>
        <Section>Header</Section>
        <Left>4935</Left>
        <Top>1530</Top>
        <Width>1545</Width>
        <Height>240</Height>
        <Text>Today</Text>
        <Align>RightTop</Align>
        <ForeColor>FF0070C0</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>1</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>Field5</Name>
        <Section>Header</Section>
        <Left>60</Left>
        <Top>30</Top>
        <Width>4065</Width>
        <Height>600</Height>
        <PictureScale>Scale</PictureScale>
        <Picture>
          <Image> </Image>
        </Picture>
      </Field>
    </Fields>
  </Report>
</Reports>