<?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>10755</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=Microsoft.Jet.OLEDB.4.0;Data Source=?(SpecialFolder.MyDocuments)\ComponentOne Samples\Common\C1NWind.mdb;Persist Security Info=False</ConnectionString>
        <RecordSource>Products</RecordSource>
        <RecordSourceType>TableDirect</RecordSourceType>
      </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>
            <Border>
              <Bottom>
                <Style>Solid</Style>
                <Width>10</Width>
                <Color>FFC0C0C0</Color>
              </Bottom>
            </Border>
            <Background type="Solid">
              <Color>FFFFFFFF</Color>
            </Background>
            <Height>336</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>2865</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>FF666666</Color>
              </Top>
            </Border>
            <Height>300</Height>
          </SubSection>
        </SubSections>
        <Type>PageFooter</Type>
      </Section>
      <Section>
        <Name>New Group Header</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Border>
              <Bottom>
                <Color>FF666666</Color>
              </Bottom>
            </Border>
            <Background type="Solid">
              <Color>FFF1F1F1</Color>
            </Background>
            <Height>654</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>
      <TextField>
        <Name>Field2</Name>
        <Background type="Solid">
          <Color>FFF1F1F1</Color>
        </Background>
        <Section>Header</Section>
        <Left>0</Left>
        <Top>0</Top>
        <Width>6525</Width>
        <Height>1110</Height>
        <MarginLeft>500</MarginLeft>
        <MarginRight>500</MarginRight>
        <Align>LeftMiddle</Align>
        <ForeColor>FF551E5F</ForeColor>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>23</Size>
        </Font>
        <Text>
          <Value sys="string">CheckBox</Value>
        </Text>
      </TextField>
      <ImageField>
        <Name>Field6</Name>
        <Background type="Solid">
          <Color>FFF1F1F1</Color>
        </Background>
        <Section>Header</Section>
        <Left>6525</Left>
        <Top>0</Top>
        <Width>4230</Width>
        <Height>1110</Height>
        <PictureAlign>RightTop</PictureAlign>
        <PictureScale>Scale</PictureScale>
        <Picture>
          <Image> </Image>
        </Picture>
      </ImageField>
      <TextField>
        <Name>Field7</Name>
        <Section>Header</Section>
        <Left>0</Left>
        <Top>1380</Top>
        <Width>5132</Width>
        <Height>435</Height>
        <MarginLeft>500</MarginLeft>
        <MarginRight>500</MarginRight>
        <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>Field3</Name>
        <Section>Header</Section>
        <Left>0</Left>
        <Top>1982</Top>
        <Width>10755</Width>
        <Height>568</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 demonstrates the use of </Value>
            </Text>
          </ParagraphText>
          <ParagraphText>
            <Font>
              <Name>Segoe UI Light</Name>
              <Size>10.5</Size>
              <Bold>true</Bold>
            </Font>
            <Text>
              <Value sys="string">CheckBoxField</Value>
            </Text>
          </ParagraphText>
          <ParagraphText>
            <Text>
              <Value sys="string"> (bound here to the </Value>
            </Text>
          </ParagraphText>
          <ParagraphText>
            <Font>
              <Name>Segoe UI Light</Name>
              <Size>10.5</Size>
              <Bold>true</Bold>
            </Font>
            <Text>
              <Value sys="string">Discontinued</Value>
            </Text>
          </ParagraphText>
          <ParagraphText>
            <Text>
              <Value sys="string"> database field).</Value>
            </Text>
          </ParagraphText>
        </Content>
      </ParagraphField>
      <TextField>
        <Name>Field4</Name>
        <Section>Detail</Section>
        <Left>0</Left>
        <Top>0</Top>
        <Width>3345</Width>
        <Height>336</Height>
        <MarginLeft>576</MarginLeft>
        <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>fldQuantityPerUnit1</Name>
        <Section>Detail</Section>
        <Left>3525</Left>
        <Top>0</Top>
        <Width>2055</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>fldUnitPrice1</Name>
        <Section>Detail</Section>
        <Left>5760</Left>
        <Top>0</Top>
        <Width>1635</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>
      </TextField>
      <TextField>
        <Name>fldUnitsInStock1</Name>
        <Section>Detail</Section>
        <Left>7575</Left>
        <Top>0</Top>
        <Width>1410</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>
      <CheckBoxField>
        <Name>Field8</Name>
        <Section>Detail</Section>
        <Left>9165</Left>
        <Top>0</Top>
        <Width>1590</Width>
        <Height>316</Height>
        <MarginRight>100</MarginRight>
        <Align>CenterMiddle</Align>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>10</Size>
        </Font>
        <Value>
          <Expression>Discontinued</Expression>
        </Value>
        <CheckAlign>CenterMiddle</CheckAlign>
      </CheckBoxField>
      <TextField>
        <Name>Field1</Name>
        <Section>GroupHeader1</Section>
        <Left>0</Left>
        <Top>0</Top>
        <Width>3345</Width>
        <Height>654</Height>
        <MarginLeft>576</MarginLeft>
        <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>Field5</Name>
        <Section>GroupHeader1</Section>
        <Left>3525</Left>
        <Top>0</Top>
        <Width>2055</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>Field9</Name>
        <Section>GroupHeader1</Section>
        <Left>5760</Left>
        <Top>0</Top>
        <Width>1635</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>Field10</Name>
        <Section>GroupHeader1</Section>
        <Left>7575</Left>
        <Top>0</Top>
        <Width>1410</Width>
        <Height>654</Height>
        <Align>RightMiddle</Align>
        <ForeColor>FF551E5F</ForeColor>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>12</Size>
        </Font>
        <Text>
          <Value sys="string">*Stock</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>Field11</Name>
        <Section>GroupHeader1</Section>
        <Left>9165</Left>
        <Top>0</Top>
        <Width>1590</Width>
        <Height>654</Height>
        <MarginRight>100</MarginRight>
        <Align>CenterMiddle</Align>
        <ForeColor>FF551E5F</ForeColor>
        <Font>
          <Name>Segoe UI Light</Name>
          <Size>12</Size>
        </Font>
        <Text>
          <Value sys="string">Discontinued</Value>
        </Text>
      </TextField>
      <TextField>
        <Name>Field25</Name>
        <Section>PageFooter</Section>
        <SubSectionIndex>1</SubSectionIndex>
        <Left>5805</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>