<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="5.4.6" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="41561,8945570602" ReportOptions.Description.Text="" ReportOptions.LastChange="43012,6310150232" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="dados" DataSetName="dados"/>
    <item DataSet="dados2" DataSetName="dados2"/>
    <item DataSet="fparametros" DataSetName="parametros"/>
  </Datasets>
  <Variables>
    <item Name=" New Category1"/>
    <item Name="periodo"/>
    <item Name="produto"/>
    <item Name="grupo"/>
    <item Name="subgrupo"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="" OnBeforePrint="Page1OnBeforePrint">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="18,89765" Left="0" Top="355,27582" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="dados" DataSetName="dados" RowCount="0">
      <TfrxMemoView Name="dadoscidade" Left="79,37013" Top="0" Width="257,00804" Height="18,89765" DataField="cidade" DataSet="dados" DataSetName="dados" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[dados.&#34;cidade&#34;]"/>
      <TfrxMemoView Name="dadosquantidade" Left="350,49629" Top="0" Width="86,92919" Height="18,89765" DataField="quantidade" DataSet="dados" DataSetName="dados" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[dados.&#34;quantidade&#34;]"/>
      <TfrxMemoView Name="dadosvalor" Left="521,57514" Top="0" Width="98,26778" Height="18,89765" DataField="valor" DataSet="dados" DataSetName="dados" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[dados.&#34;valor&#34;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="49,13389" Left="0" Top="283,46475" Width="718,1107" Condition="dados.&#34;uf&#34;">
      <TfrxMemoView Name="Memo3" Left="38,01577" Top="1,77953" Width="188,9765" Height="18,89765" DataSet="dados" DataSetName="dados" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="Esdado: [dados.&#34;uf&#34;]"/>
      <TfrxMemoView Name="Memo4" Left="79,37013" Top="30,23624" Width="94,48825" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="Cidade"/>
      <TfrxMemoView Name="Memo5" Left="342,93723" Top="30,23624" Width="94,48825" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="Quantidade"/>
      <TfrxMemoView Name="Memo6" Left="525,35467" Top="30,23624" Width="94,48825" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="Valor total"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="396,85065" Width="718,1107">
      <TfrxSysMemoView Name="SysMemo1" Left="320,26005" Top="0" Width="117,16543" Height="18,89765" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;dados.&#34;quantidade&#34;&#62;,MasterData1)]"/>
      <TfrxSysMemoView Name="SysMemo2" Left="487,55937" Top="0" Width="132,28355" Height="18,89765" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;dados.&#34;valor&#34;&#62;,MasterData1)]"/>
    </TfrxGroupFooter>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="18,89765" Width="718,1107">
      <TfrxMemoView Name="Memo2" Left="533,91373" Top="1" Width="181,41744" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="Página [Page#] de [TotalPages#]"/>
    </TfrxPageHeader>
    <TfrxHeader Name="Header1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="158,74026" Left="0" Top="102,04731" Width="718,1107">
      <TfrxMemoView Name="Memo1" Align="baWidth" Left="0" Top="36,23624" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="RELATÓRIO DE VENDAS POR UF E CIDADE"/>
      <TfrxMemoView Name="periodo" Align="baWidth" Left="0" Top="59,03154" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[periodo]"/>
      <TfrxMemoView Name="produto" Left="3,77953" Top="84,37013" Width="291,02381" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[produto]"/>
      <TfrxMemoView Name="Memo7" Left="3,77953" Top="107,04731" Width="291,02381" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[grupo]"/>
      <TfrxMemoView Name="Memo8" Left="3,77953" Top="131,50402" Width="291,02381" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[subgrupo]"/>
      <TfrxMemoView Name="parametrosfantasia" Align="baWidth" Left="0" Top="15,11812" Width="718,1107" Height="18,89765" DataField="fantasia" DataSet="fparametros" DataSetName="parametros" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[parametros.&#34;fantasia&#34;]"/>
    </TfrxHeader>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="113,3859" Left="0" Top="442,20501" Width="718,1107">
      <TfrxSysMemoView Name="SysMemo3" Left="320,26005" Top="7,55906" Width="117,16543" Height="18,89765" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;dados.&#34;quantidade&#34;&#62;,MasterData1,2)]"/>
      <TfrxSysMemoView Name="SysMemo4" Left="487,55937" Top="11,33859" Width="132,28355" Height="18,89765" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;dados.&#34;valor&#34;&#62;,MasterData1,2)]"/>
      <TfrxMemoView Name="Memo9" Left="200,31509" Top="9,55906" Width="94,48825" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="Total Geral:"/>
      <TfrxMemoView Name="Memo10" Align="baWidth" Left="0" Top="86,92919" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="Ranking por estado"/>
    </TfrxFooter>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="721,89023" Width="718,1107"/>
    <TfrxMasterData Name="MasterData2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="578,26809" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="dados2" DataSetName="dados2" RowCount="0">
      <TfrxMemoView Name="dados2uf" Left="75,5906" Top="2,77953" Width="109,60637" Height="18,89765" DataSet="dados2" DataSetName="dados2" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[dados2.&#34;uf&#34;]"/>
      <TfrxMemoView Name="dados2quantidade" Left="230,55133" Top="3,77953" Width="113,3859" Height="18,89765" DataField="quantidade" DataSet="dados2" DataSetName="dados2" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[dados2.&#34;quantidade&#34;]"/>
      <TfrxMemoView Name="dados2valor" Left="396,85065" Top="3,77953" Width="136,06308" Height="18,89765" DataField="valor" DataSet="dados2" DataSetName="dados2" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[dados2.&#34;valor&#34;]"/>
    </TfrxMasterData>
    <TfrxFooter Name="Footer2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="37,7953" Left="0" Top="623,62245" Width="718,1107">
      <TfrxSysMemoView Name="SysMemo5" Left="226,7718" Top="1" Width="117,16543" Height="18,89765" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;dados.&#34;quantidade&#34;&#62;,MasterData1,2)]"/>
      <TfrxSysMemoView Name="SysMemo6" Left="400,63018" Top="1" Width="132,28355" Height="18,89765" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;dados.&#34;valor&#34;&#62;,MasterData1,2)]"/>
    </TfrxFooter>
  </TfrxReportPage>
</TfrxReport>
