<?xml version="1.0"?>
<Reports>
  <FormatVersion>1.0 1.0.0.0</FormatVersion>
  <Report ref="1">
    <Name>PriceComparison</Name>
    <DataSourceName>Main</DataSourceName>
    <Layout>
      <Width>11610</Width>
      <Margin>288</Margin>
      <MarginTop>288</MarginTop>
      <MarginRight>288</MarginRight>
      <MarginBottom>288</MarginBottom>
      <Orientation>Portrait</Orientation>
      <PaperSize>Letter</PaperSize>
    </Layout>
    <Font>
      <Name>Arial</Name>
      <Size>9</Size>
      <Bold>false</Bold>
      <Italic>false</Italic>
      <Underline>false</Underline>
      <Strikethrough>false</Strikethrough>
    </Font>
    <DataSources>
      <DataSource>
        <Name>Main</Name>
      </DataSource>
    </DataSources>
    <Sections>
      <Section>
        <Name>Detail</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>2400</Height>
          </SubSection>
        </SubSections>
        <Type>Detail</Type>
      </Section>
      <Section>
        <Name>Header</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>1305</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>750</Height>
          </SubSection>
        </SubSections>
        <Type>PageFooter</Type>
      </Section>
    </Sections>
    <Fields>
      <Field>
        <Name>Field1</Name>
        <Section>Detail</Section>
        <Left>0</Left>
        <Top>180</Top>
        <Width>1905</Width>
        <Height>1545</Height>
        <AutoHeight>CanGrow</AutoHeight>
        <Subreport sys="string">ProDuctTypeImages</Subreport>
      </Field>
      <Field>
        <Name>Field2</Name>
        <Section>Detail</Section>
        <Left>2040</Left>
        <Top>0</Top>
        <Width>4020</Width>
        <Height>2400</Height>
        <AutoHeight>CanGrow</AutoHeight>
        <Subreport sys="string">PopularProduct13</Subreport>
      </Field>
      <Field>
        <Name>Field4</Name>
        <Section>Header</Section>
        <Left>1249</Left>
        <Top>375</Top>
        <Width>8175</Width>
        <Height>630</Height>
        <Text>Black Friday's Most Popular</Text>
        <Align>LeftMiddle</Align>
        <ForeColor>FF007D9D</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>12</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Field5</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFA9A9A9</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFA9A9A9</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFA9A9A9</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFA9A9A9</Color>
          </Bottom>
        </Border>
        <Section>Header</Section>
        <Left>120</Left>
        <Top>1050</Top>
        <Width>11310</Width>
        <Height>15</Height>
        <ForeColor>FFA9A9A9</ForeColor>
        <Shape type="LineShape" />
      </Field>
      <Field>
        <Name>Field6</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFC0C0C0</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFC0C0C0</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFC0C0C0</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFC0C0C0</Color>
          </Bottom>
        </Border>
        <Section>PageFooter</Section>
        <Left>60</Left>
        <Top>0</Top>
        <Width>11385</Width>
        <Height>30</Height>
        <Shape type="LineShape" />
      </Field>
      <Field>
        <Name>Field3</Name>
        <Section>Detail</Section>
        <Left>6225</Left>
        <Top>0</Top>
        <Width>4020</Width>
        <Height>2400</Height>
        <AutoHeight>CanGrow</AutoHeight>
        <Subreport sys="string">PopularProduct14</Subreport>
      </Field>
      <Field>
        <Name>Field7</Name>
        <Section>Header</Section>
        <Left>8775</Left>
        <Top>210</Top>
        <Width>2610</Width>
        <Height>930</Height>
        <Picture>
          <Image> </Image>
        </Picture>
      </Field>
      <Field>
        <Name>Field11</Name>
        <Background type="Solid">
          <Color>FFFFFFFF</Color>
        </Background>
        <Section>PageFooter</Section>
        <Left>15</Left>
        <Top>0</Top>
        <Width>4185</Width>
        <Height>555</Height>
        <Text>© 2015 ComponentOne.  All Right Reserved.</Text>
        <Align>LeftMiddle</Align>
        <ForeColor>FF007D9D</ForeColor>
        <Font>
          <Name>Trebuchet MS</Name>
          <Size>9</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Field12</Name>
        <Section>Header</Section>
        <Left>1185</Left>
        <Top>0</Top>
        <Width>8175</Width>
        <Height>675</Height>
        <Text>C1Works Enterprise</Text>
        <Align>LeftMiddle</Align>
        <ForeColor>FF666666</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>24</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Field13</Name>
        <Section>Header</Section>
        <Left>135</Left>
        <Top>45</Top>
        <Width>1020</Width>
        <Height>960</Height>
        <Picture>
          <Image> </Image>
        </Picture>
      </Field>
    </Fields>
  </Report>
  <Report ref="1">
    <Name>ProDuctTypeImages</Name>
    <DataSourceName>Main</DataSourceName>
    <OnOpen>' -- style script start
_styleCtr = 0
' -- style script end
</OnOpen>
    <Layout>
      <Width>9410</Width>
      <Orientation>Portrait</Orientation>
    </Layout>
    <Font>
      <Name>Segoe UI</Name>
      <Size>9</Size>
      <Bold>false</Bold>
      <Italic>false</Italic>
      <Underline>false</Underline>
      <Strikethrough>false</Strikethrough>
    </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>SELECT T.Product_ID, T.Product_Type, T.Product_Type_Photo
FROM PriceComparison AS T
WHERE (((T.Product_ID) In (select top 3 t2.Product_ID
from PriceComparison  t2
where 
t2.Product_Type=T.Product_Type
order by t2.Price_2013 desc, t2.Price_2014 desc
))) ;
</RecordSource>
      </DataSource>
    </DataSources>
    <Groups>
      <Group>
        <Name>Product_Type</Name>
        <GroupBy>Product_Type</GroupBy>
        <Sort>Descending</Sort>
        <OutlineLabel>
          <Expression>Product_Type</Expression>
        </OutlineLabel>
      </Group>
    </Groups>
    <Sections>
      <Section>
        <Name>Detail</Name>
        <Background type="Solid">
          <Color>FFF0F0F0</Color>
        </Background>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>Detail</Type>
        <OnPrint>' -- style script start
detail.BackColor = iif(_styleCtr mod 2 = 0, rgb(255,255,255),rgb(240,240,240))
_styleCtr = _styleCtr + 1
' -- style script end
</OnPrint>
      </Section>
      <Section>
        <Name>Header</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>5</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>
        <Background type="Solid">
          <Color>FFC2DCFF</Color>
        </Background>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>PageHeader</Type>
      </Section>
      <Section>
        <Name>PageFooter</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>PageFooter</Type>
      </Section>
      <Section>
        <Name>Product_Type_Header</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>2205</Height>
          </SubSection>
        </SubSections>
        <Type>GroupHeader1</Type>
      </Section>
      <Section>
        <Name>Product_Type_Footer</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>GroupFooter1</Type>
        <Visible>false</Visible>
      </Section>
    </Sections>
    <Fields>
      <Field>
        <Name>Field2</Name>
        <Section>GroupHeader1</Section>
        <Left>0</Left>
        <Top>300</Top>
        <Width>1710</Width>
        <Height>1185</Height>
        <Calculated>true</Calculated>
        <PictureScale>Stretch</PictureScale>
        <Picture>
          <Expression>Product_Type_Photo</Expression>
        </Picture>
      </Field>
    </Fields>
  </Report>
  <Report ref="1">
    <Name>PopularProduct14</Name>
    <DataSourceName>Main</DataSourceName>
    <OnOpen>' -- style script start
_styleCtr = 0
' -- style script end
</OnOpen>
    <Layout>
      <Width>9410</Width>
      <Margin>0</Margin>
      <MarginTop>0</MarginTop>
      <MarginRight>0</MarginRight>
      <MarginBottom>0</MarginBottom>
      <Orientation>Portrait</Orientation>
      <PaperSize>Letter</PaperSize>
    </Layout>
    <Font>
      <Name>Segoe UI</Name>
      <Size>9</Size>
      <Bold>false</Bold>
      <Italic>false</Italic>
      <Underline>false</Underline>
      <Strikethrough>false</Strikethrough>
    </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>SELECT T.Product_ID, T.Product_Type, T.Product_Name, T.Price_2013, T.Price_2014
FROM PriceComparison AS T
WHERE (((T.Product_ID) In (select top 3 t2.Product_ID
from PriceComparison  t2
where 
t2.Product_Type=T.Product_Type
order by t2.Price_2013 desc, t2.Price_2014 desc
))) ;
</RecordSource>
      </DataSource>
    </DataSources>
    <Groups>
      <Group>
        <Name>Product_Type</Name>
        <GroupBy>Product_Type</GroupBy>
        <Sort>Descending</Sort>
        <KeepTogether>KeepFirstDetail</KeepTogether>
        <OutlineLabel>
          <Expression>Product_Type</Expression>
        </OutlineLabel>
      </Group>
    </Groups>
    <Sections>
      <Section>
        <Name>Detail</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>330</Height>
          </SubSection>
        </SubSections>
        <Type>Detail</Type>
        <OnPrint>' -- style script start
_styleCtr = _styleCtr + 1
' -- style script end
var _per=Int(((Price_2014*100)/Price_2013))-(100)
lblChange.Width=Abs(_per*2)
lblChange.BackColor=Iif(_per&lt;0,rgb(128,0,0),rgb(31,143,60))
lblChange.Left=Iif(_per&lt;0,(4725+(_per*2)),4725+40)
lblPer.Text=Int(_per) &amp; "%"</OnPrint>
      </Section>
      <Section>
        <Name>Header</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>Header</Type>
        <Visible>false</Visible>
      </Section>
      <Section>
        <Name>Footer</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>Footer</Type>
        <Visible>false</Visible>
      </Section>
      <Section>
        <Name>PageHeader</Name>
        <Background type="Solid">
          <Color>FFC2DCFF</Color>
        </Background>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>PageHeader</Type>
        <Visible>false</Visible>
      </Section>
      <Section>
        <Name>PageFooter</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>PageFooter</Type>
        <Visible>false</Visible>
      </Section>
      <Section>
        <Name>GroupHeader0</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>663</Height>
          </SubSection>
        </SubSections>
        <Type>GroupHeader1</Type>
        <Repeat>true</Repeat>
      </Section>
      <Section>
        <Name>GroupFooter0</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>525</Height>
          </SubSection>
        </SubSections>
        <Type>GroupFooter1</Type>
      </Section>
    </Sections>
    <Fields>
      <Field>
        <Name>Product_NameCtl</Name>
        <Border>
          <Left>
            <Color>00000000</Color>
          </Left>
          <Top>
            <Color>00000000</Color>
          </Top>
          <Right>
            <Color>00000000</Color>
          </Right>
          <Bottom>
            <Color>00000000</Color>
          </Bottom>
        </Border>
        <Section>Detail</Section>
        <Left>30</Left>
        <Top>0</Top>
        <Width>2490</Width>
        <Height>280</Height>
        <MarginRight>150</MarginRight>
        <Text>Product_Name</Text>
        <Calculated>true</Calculated>
        <Align>LeftMiddle</Align>
        <ForeColor>FF666666</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Prize_2013Ctl</Name>
        <Border>
          <Left>
            <Color>00000000</Color>
          </Left>
          <Top>
            <Color>00000000</Color>
          </Top>
          <Right>
            <Color>00000000</Color>
          </Right>
          <Bottom>
            <Color>00000000</Color>
          </Bottom>
        </Border>
        <Section>Detail</Section>
        <Left>2625</Left>
        <Top>0</Top>
        <Width>1170</Width>
        <Height>280</Height>
        <MarginRight>20</MarginRight>
        <Text>Price_2014</Text>
        <Calculated>true</Calculated>
        <Format>$#,##0</Format>
        <Align>RightMiddle</Align>
        <ForeColor>FF666666</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Field4</Name>
        <Border>
          <Left>
            <Style>Dot</Style>
            <Width>15</Width>
          </Left>
          <Top>
            <Style>Dot</Style>
            <Width>15</Width>
          </Top>
          <Right>
            <Style>Dot</Style>
            <Width>15</Width>
          </Right>
          <Bottom>
            <Style>Dot</Style>
            <Width>15</Width>
          </Bottom>
        </Border>
        <Section>Detail</Section>
        <Left>4745</Left>
        <Top>0</Top>
        <Width>0</Width>
        <Height>270</Height>
        <AutoHeight>CanGrow</AutoHeight>
        <Anchor>TopAndBottom</Anchor>
        <ForeColor>FFC0C0C0</ForeColor>
        <Shape type="LineShape">
          <LineSlant>NoLine</LineSlant>
        </Shape>
      </Field>
      <Field>
        <Name>lblChange</Name>
        <Background type="Solid">
          <Color>FF800000</Color>
        </Background>
        <Section>Detail</Section>
        <Left>4691</Left>
        <Top>15</Top>
        <Width>34</Width>
        <Height>225</Height>
        <Calculated>true</Calculated>
        <Align>RightTop</Align>
      </Field>
      <Field>
        <Name>lblPer</Name>
        <Border>
          <Left>
            <Color>00000000</Color>
          </Left>
          <Top>
            <Color>00000000</Color>
          </Top>
          <Right>
            <Color>00000000</Color>
          </Right>
          <Bottom>
            <Color>00000000</Color>
          </Bottom>
        </Border>
        <Section>Detail</Section>
        <Left>4170</Left>
        <Top>30</Top>
        <Width>1155</Width>
        <Height>195</Height>
        <Text>-17%</Text>
        <Align>RightMiddle</Align>
        <ForeColor>FF666666</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Field3</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Bottom>
        </Border>
        <Section>Detail</Section>
        <Left>0</Left>
        <Top>330</Top>
        <Width>3825</Width>
        <Height>0</Height>
        <Anchor>TopAndBottom</Anchor>
        <ForeColor>FFC0C0C0</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
        <Shape type="LineShape" />
      </Field>
      <Field>
        <Name>Field5</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Bottom>
        </Border>
        <Section>Detail</Section>
        <Left>4065</Left>
        <Top>330</Top>
        <Width>1275</Width>
        <Height>0</Height>
        <Anchor>TopAndBottom</Anchor>
        <ForeColor>FFC0C0C0</ForeColor>
        <Shape type="LineShape" />
      </Field>
      <Field>
        <Name>Prize_2013Ctl1</Name>
        <Section>GroupHeader1</Section>
        <Left>2625</Left>
        <Top>375</Top>
        <Width>1215</Width>
        <Height>280</Height>
        <MarginRight>150</MarginRight>
        <Text>2014 Price</Text>
        <Align>RightMiddle</Align>
        <ForeColor>FF007D9D</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Prize_2013Ctl2</Name>
        <Section>GroupHeader1</Section>
        <Left>4065</Left>
        <Top>375</Top>
        <Width>1290</Width>
        <Height>280</Height>
        <Text>% Change</Text>
        <Align>CenterMiddle</Align>
        <ForeColor>FF007D9D</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Product_NameCtl1</Name>
        <Section>GroupHeader1</Section>
        <Left>0</Left>
        <Top>375</Top>
        <Width>1860</Width>
        <Height>280</Height>
        <MarginRight>150</MarginRight>
        <Text>2014's Most Popular </Text>
        <Align>LeftMiddle</Align>
        <ForeColor>FF007D9D</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Field1</Name>
        <Section>GroupHeader1</Section>
        <Left>1695</Left>
        <Top>375</Top>
        <Width>1155</Width>
        <Height>280</Height>
        <ZOrder>2</ZOrder>
        <MarginRight>150</MarginRight>
        <Text>Product_Type</Text>
        <Calculated>true</Calculated>
        <Align>LeftMiddle</Align>
        <ForeColor>FF007D9D</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Field2</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Bottom>
        </Border>
        <Section>GroupHeader1</Section>
        <Left>0</Left>
        <Top>632</Top>
        <Width>3804</Width>
        <Height>16</Height>
        <Shape type="LineShape" />
      </Field>
      <Field>
        <Name>Field6</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Bottom>
        </Border>
        <Section>GroupHeader1</Section>
        <Left>4045</Left>
        <Top>635</Top>
        <Width>1276</Width>
        <Height>16</Height>
        <Shape type="LineShape" />
      </Field>
    </Fields>
  </Report>
  <Report ref="1">
    <Name>PopularProduct13</Name>
    <DataSourceName>Main</DataSourceName>
    <OnOpen>' -- style script start
_styleCtr = 0
' -- style script end
</OnOpen>
    <Layout>
      <Width>9410</Width>
      <Margin>0</Margin>
      <MarginTop>0</MarginTop>
      <MarginRight>0</MarginRight>
      <MarginBottom>0</MarginBottom>
      <Orientation>Portrait</Orientation>
      <PaperSize>Letter</PaperSize>
    </Layout>
    <Font>
      <Name>Segoe UI</Name>
      <Size>9</Size>
      <Bold>false</Bold>
      <Italic>false</Italic>
      <Underline>false</Underline>
      <Strikethrough>false</Strikethrough>
    </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>SELECT T.Product_ID, T.Product_Type, T.Product_Name, T.Price_2013, T.Price_2014
FROM PriceComparison AS T
WHERE (((T.Product_ID) In (select top 3 t2.Product_ID
from PriceComparison  t2
where 
t2.Product_Type=T.Product_Type
order by t2.Price_2013 desc, t2.Price_2014 desc
))) ;
</RecordSource>
      </DataSource>
    </DataSources>
    <Groups>
      <Group>
        <Name>Product_Type</Name>
        <GroupBy>Product_Type</GroupBy>
        <Sort>Descending</Sort>
        <KeepTogether>KeepFirstDetail</KeepTogether>
        <OutlineLabel>
          <Expression>Product_Type</Expression>
        </OutlineLabel>
      </Group>
    </Groups>
    <Sections>
      <Section>
        <Name>Detail</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>330</Height>
          </SubSection>
        </SubSections>
        <Type>Detail</Type>
        <OnPrint>' -- style script start
_styleCtr = _styleCtr + 1
' -- style script end
_per=((Price_2014*100)/Price_2013)-(100)
lblChange.Width=Abs(_per*2)
lblChange.BackColor=Iif(_per&lt;0,rgb(128,0,0),rgb(31,143,60))
lblChange.Left=Iif(_per&lt;0,(4725+(_per*2)),4725+40)
lblPer.Text=Int(_per) &amp; "%"</OnPrint>
      </Section>
      <Section>
        <Name>Header</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>Header</Type>
        <Visible>false</Visible>
      </Section>
      <Section>
        <Name>Footer</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>Footer</Type>
        <Visible>false</Visible>
      </Section>
      <Section>
        <Name>PageHeader</Name>
        <Background type="Solid">
          <Color>FFC2DCFF</Color>
        </Background>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>PageHeader</Type>
        <Visible>false</Visible>
      </Section>
      <Section>
        <Name>PageFooter</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
          </SubSection>
        </SubSections>
        <Type>PageFooter</Type>
        <Visible>false</Visible>
      </Section>
      <Section>
        <Name>GroupHeader0</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>660</Height>
          </SubSection>
        </SubSections>
        <Type>GroupHeader1</Type>
        <Repeat>true</Repeat>
      </Section>
      <Section>
        <Name>GroupFooter0</Name>
        <SubSections>
          <SubSection>
            <Name>SubSection1</Name>
            <Height>510</Height>
          </SubSection>
        </SubSections>
        <Type>GroupFooter1</Type>
      </Section>
    </Sections>
    <Fields>
      <Field>
        <Name>Product_NameCtl</Name>
        <Section>Detail</Section>
        <Left>30</Left>
        <Top>0</Top>
        <Width>2490</Width>
        <Height>280</Height>
        <MarginRight>150</MarginRight>
        <Text>Product_Name</Text>
        <Calculated>true</Calculated>
        <Align>LeftMiddle</Align>
        <ForeColor>FF666666</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Prize_2013Ctl</Name>
        <Section>Detail</Section>
        <Left>2625</Left>
        <Top>0</Top>
        <Width>1170</Width>
        <Height>280</Height>
        <MarginRight>20</MarginRight>
        <Text>Price_2013</Text>
        <Calculated>true</Calculated>
        <Format>$#,##0</Format>
        <Align>RightMiddle</Align>
        <ForeColor>FF666666</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Product_NameCtl1</Name>
        <Section>GroupHeader1</Section>
        <Left>0</Left>
        <Top>375</Top>
        <Width>1815</Width>
        <Height>280</Height>
        <MarginRight>150</MarginRight>
        <Text>2013's Most Popular </Text>
        <Align>LeftMiddle</Align>
        <ForeColor>FF007D9D</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Prize_2013Ctl1</Name>
        <Section>GroupHeader1</Section>
        <Left>2625</Left>
        <Top>375</Top>
        <Width>1215</Width>
        <Height>280</Height>
        <MarginRight>150</MarginRight>
        <Text>2013 Price</Text>
        <Align>RightMiddle</Align>
        <ForeColor>FF007D9D</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Field1</Name>
        <Section>GroupHeader1</Section>
        <Left>1710</Left>
        <Top>375</Top>
        <Width>1140</Width>
        <Height>280</Height>
        <MarginRight>150</MarginRight>
        <Text>Product_Type</Text>
        <Calculated>true</Calculated>
        <Align>LeftMiddle</Align>
        <ForeColor>FF007D9D</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>true</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
      </Field>
      <Field>
        <Name>Field3</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFE6E6E6</Color>
          </Bottom>
        </Border>
        <Section>Detail</Section>
        <Left>0</Left>
        <Top>330</Top>
        <Width>3825</Width>
        <Height>0</Height>
        <Anchor>TopAndBottom</Anchor>
        <ForeColor>FFC0C0C0</ForeColor>
        <Font>
          <Name>Calibri</Name>
          <Size>9.75</Size>
          <Bold>false</Bold>
          <Italic>false</Italic>
          <Underline>false</Underline>
          <Strikethrough>false</Strikethrough>
        </Font>
        <Shape type="LineShape" />
      </Field>
      <Field>
        <Name>Field2</Name>
        <Border>
          <Left>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Left>
          <Top>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Top>
          <Right>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Right>
          <Bottom>
            <Style>Solid</Style>
            <Width>15</Width>
            <Color>FFB4B4B4</Color>
          </Bottom>
        </Border>
        <Section>GroupHeader1</Section>
        <Left>0</Left>
        <Top>632</Top>
        <Width>3805</Width>
        <Height>16</Height>
        <Shape type="LineShape" />
      </Field>
    </Fields>
  </Report>
</Reports>