<?xml version="1.0"?>
<Reports>
  <FormatVersion>1.0 1.0.0.0</FormatVersion>
  <Report ref="1">
    <Name>CheckBox</Name>
    <DataSourceName>Main</DataSourceName>
    <Tag sys="double">20.6825</Tag>
    <Layout>
      <Width>9420</Width>
      <Orientation>Portrait</Orientation>
    </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>OLEDB</DataProvider>
        <ConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|C1NWind.mdb;Persist Security Info=False</ConnectionString>
        <RecordSource>Products</RecordSource>
      </DataSource>
    </DataSources>
    <Groups>
      <Group>
        <Name>New Group</Name>
      </Group>
    </Groups>
    <Sections>
      <Section>
        <Name>Detail</Name>
        <Border>
          <Bottom>
            <Style>Dot</Style>
            <Width>2</Width>
            <Color>FF666666</Color>
          </Bottom>
        </Border>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>255</Height>
          </SubSection>
        </SubSections>
        <Type>Detail</Type>
        <OnFormat>UnitsInStockCtl.ForeColor = _
  iif( UnitsInStock + UnitsOnOrder &gt; ReorderLevel, _
    rgb(102,102,102), _
    rgb(255,0,0))
</OnFormat>
      </Section>
      <Section>
        <Name>Header</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>2025</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>430</Height>
          </SubSection>
        </SubSections>
        <Type>PageFooter</Type>
      </Section>
      <Section>
        <Name>New Group Header</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Border>
              <Bottom>
                <Style>Solid</Style>
                <Width>3</Width>
                <Color>FF666666</Color>
              </Bottom>
            </Border>
            <Height>405</Height>
          </SubSection>
        </SubSections>
        <Type>GroupHeader1</Type>
        <Repeat>true</Repeat>
        <OnPrint>' calculate a value and store it in the report's Tag property
Report.Tag = Avg(UnitPrice)

' store some other values in invisible fields
fMinPrice = Min(UnitPrice)
fMaxPrice = Max(UnitPrice)
fAvgPrice = Avg(UnitPrice)
</OnPrint>
      </Section>
      <Section>
        <Name>New Group Footer</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>GroupFooter1</Type>
        <Visible>false</Visible>
      </Section>
    </Sections>
    <Fields>
      <Field>
        <Name>ftrRight</Name>
        <Section>PageFooter</Section>
        <Left>4680</Left>
        <Top>180</Top>
        <Width>4680</Width>
        <Height>250</Height>
        <Text>"Page " &amp; [Page] &amp; " of " &amp; [Pages]</Text>
        <Calculated>true</Calculated>
        <Align>RightTop</Align>
        <ForeColor>FF666666</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>ProductNameLbl</Name>
        <Section>GroupHeader1</Section>
        <Left>0</Left>
        <Top>0</Top>
        <Width>2730</Width>
        <Height>405</Height>
        <Text>Product Name</Text>
        <Align>LeftBottom</Align>
        <ForeColor>FF007D9D</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>11.25</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>0</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>QuantityPerUnitLbl</Name>
        <Section>GroupHeader1</Section>
        <Left>3420</Left>
        <Top>0</Top>
        <Width>1980</Width>
        <Height>405</Height>
        <Text>Quantity Per Unit</Text>
        <Align>LeftBottom</Align>
        <ForeColor>FF007D9D</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>11.25</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>0</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>UnitPriceLbl</Name>
        <Section>GroupHeader1</Section>
        <Left>5505</Left>
        <Top>0</Top>
        <Width>1515</Width>
        <Height>405</Height>
        <Text>Unit Price</Text>
        <Align>RightBottom</Align>
        <ForeColor>FF007D9D</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>11.25</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>0</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>UnitsInStockLbl</Name>
        <Section>GroupHeader1</Section>
        <Left>7050</Left>
        <Top>0</Top>
        <Width>915</Width>
        <Height>405</Height>
        <Text>*Stock</Text>
        <Align>RightBottom</Align>
        <ForeColor>FF007D9D</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>11.25</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>0</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>DiscontinuedLbl</Name>
        <Section>GroupHeader1</Section>
        <Left>8010</Left>
        <Top>0</Top>
        <Width>1350</Width>
        <Height>405</Height>
        <Text>Discont'd</Text>
        <Align>CenterBottom</Align>
        <ForeColor>FF007D9D</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>11.25</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>0</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>ProductNameCtl</Name>
        <Section>Detail</Section>
        <Left>0</Left>
        <Top>0</Top>
        <Width>3420</Width>
        <Height>255</Height>
        <Text>left(ProductName, 30)</Text>
        <Calculated>true</Calculated>
        <Align>LeftTop</Align>
        <ForeColor>FF666666</ForeColor>
        <WordWrap>false</WordWrap>
        <Font>
          <Name>Calibri</Name>
          <Size>9</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>0</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>QuantityPerUnitCtl</Name>
        <Section>Detail</Section>
        <Left>3420</Left>
        <Top>0</Top>
        <Width>2055</Width>
        <Height>255</Height>
        <AutoHeight>CanGrow</AutoHeight>
        <Text>QuantityPerUnit</Text>
        <Calculated>true</Calculated>
        <Align>LeftTop</Align>
        <ForeColor>FF666666</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>0</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>UnitPriceCtl</Name>
        <Section>Detail</Section>
        <Left>5505</Left>
        <Top>0</Top>
        <Width>1518</Width>
        <Height>250</Height>
        <Text>UnitPrice</Text>
        <Calculated>true</Calculated>
        <Format>Currency</Format>
        <Align>RightTop</Align>
        <ForeColor>FF666666</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>0</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>UnitsInStockCtl</Name>
        <Section>Detail</Section>
        <Left>7043</Left>
        <Top>0</Top>
        <Width>911</Width>
        <Height>250</Height>
        <Text>UnitsInStock</Text>
        <Calculated>true</Calculated>
        <Align>RightTop</Align>
        <ForeColor>FF666666</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>0</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>Field2</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
          </Bottom>
        </Border>
        <Section>PageFooter</Section>
        <Left>0</Left>
        <Top>150</Top>
        <Width>9345</Width>
        <Height>30</Height>
        <Shape type="LineShape" />
      </Field>
      <Field>
        <Name>Field5</Name>
        <Section>Header</Section>
        <Left>0</Left>
        <Top>1515</Top>
        <Width>9270</Width>
        <Height>315</Height>
        <AutoHeight>GrowAndShrink</AutoHeight>
        <Text>This Report shows demonstration of Checkbox Field.</Text>
        <Font>
          <Name>Calibri</Name>
          <Size>10</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>0</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>titleLbl</Name>
        <Section>Header</Section>
        <Left>45</Left>
        <Top>840</Top>
        <Width>5070</Width>
        <Height>600</Height>
        <Text>CheckBox</Text>
        <Align>LeftMiddle</Align>
        <ForeColor>FF666666</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>21.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
          <GdiCharSet>0</GdiCharSet>
        </Font>
      </Field>
      <Field>
        <Name>Field6</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
          </Bottom>
        </Border>
        <Section>Header</Section>
        <Left>0</Left>
        <Top>1395</Top>
        <Width>9420</Width>
        <Height>120</Height>
        <Shape type="LineShape" />
      </Field>
      <Field>
        <Name>Field7</Name>
        <Section>Header</Section>
        <Left>5460</Left>
        <Top>1095</Top>
        <Width>1545</Width>
        <Height>315</Height>
        <Text>Today</Text>
        <Align>RightTop</Align>
        <ForeColor>FF666666</ForeColor>
        <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>ftrLeft2</Name>
        <Section>Header</Section>
        <Left>7050</Left>
        <Top>1095</Top>
        <Width>2160</Width>
        <Height>300</Height>
        <Text>Now()</Text>
        <Calculated>true</Calculated>
        <Align>LeftTop</Align>
        <ForeColor>FF666666</ForeColor>
        <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>Field8</Name>
        <Section>Header</Section>
        <Left>0</Left>
        <Top>30</Top>
        <Width>4065</Width>
        <Height>600</Height>
        <PictureScale>Scale</PictureScale>
        <Picture>
          <Image> </Image>
        </Picture>
      </Field>
      <CheckBoxField>
        <Name>Field1</Name>
        <Section>Detail</Section>
        <Left>8715</Left>
        <Top>0</Top>
        <Width>200</Width>
        <Height>250</Height>
        <Value>
          <Expression>Discontinued</Expression>
        </Value>
        <Text>
          <Value>Discontinued</Value>
        </Text>
      </CheckBoxField>
    </Fields>
  </Report>
</Reports>