<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="4.6.98" DotMatrixReport="False" EngineOptions.UseFileCache="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39863.6152412384" ReportOptions.Description.Text="" ReportOptions.LastChange="42345.432374919" ScriptLanguage="PascalScript" ScriptText.Text="procedure CmdDetailsOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  page1.visible:=true;&#13;&#10;  page2.visible:=false;      &#13;&#10;  page3.visible:=false;      &#13;&#10;end;&#13;&#10;&#13;&#10;procedure CmdFamilyOnlyOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  page1.visible:=false;&#13;&#10;  page2.visible:=true;&#13;&#10;  page3.visible:=false;      &#13;&#10;end;&#13;&#10;&#13;&#10;procedure CmdQtyOnlyOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  page1.visible:=false;&#13;&#10;  page2.visible:=false;&#13;&#10;  page3.visible:=True;  &#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end." PropData="08446174617365747301010C2000000020446174615365743D2253514C2220446174615365744E616D653D2253514C2200010C3200000020446174615365743D224F7267616E69736174696F6E2220446174615365744E616D653D224F7267616E69736174696F6E2200010C2800000020446174615365743D22555344526174652220446174615365744E616D653D22555344526174652200010C2400000020446174615365743D224974656D732220446174615365744E616D653D224974656D73220000095661726961626C65730100055374796C650100">
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxADODatabase Name="DB" LoginPrompt="False" PropData="05704C65667402250470546F700224"/>
    <TfrxADOQuery Name="SQL" UserName="SQL" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="select&#13;&#10;''As FromDate,''As ToDate,                                                        &#13;&#10;JobID, Job, ItemID , ItemCode, ItemName, FamilyCode, FamilyName,SUM(Qty)As Qty, sum(Qty*Cost)As TotalCost, sum(qty*FinalPrice) As TotalPrice&#13;&#10;from&#13;&#10;VwRelatorioDeVenda&#13;&#10;where date between '2012-5-1' and  '2012-5-31'              &#13;&#10;group by &#13;&#10;JobID, Job, ItemID , ItemCode, ItemName, FamilyCode, FamilyName&#13;&#10;Having  SUM(Qty)&#60;&#62;0                         &#13;&#10;Order By &#13;&#10;Job,FamilyCode,ItemCode                      &#13;&#10;  &#13;&#10;                                                           " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402540470546F7002240A506172616D65746572730100"/>
    <TfrxADOQuery Name="Organisation" UserName="Organisation" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="SELECT * FROM Organisation                                                                                                          " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667403F9000470546F7002250A506172616D65746572730100"/>
    <TfrxADOQuery Name="USDRate" UserName="USDRate" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="select dbo.FN_EXCHANGE_RATE(2,null)As USDRate  " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667403AE000470546F7002250A506172616D65746572730100"/>
    <TfrxADOTable Name="Items" UserName="Items" CloseDataSource="True" FieldAliases.Text="" Master="SQL" MasterFields="ID=ItemID" TableName="dbo.Item" IndexFieldNames="ID" Database="DB" PropData="05704C656674022B0470546F70027C"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="4" RightMargin="4" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="15.11811024" Left="0" ParentFont="False" Top="192" Width="763.46506" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="SQLItemCode" Left="29.7953" Top="0" Width="61.78293143" Height="15.11811024" ShowHint="False" DataField="ItemCode" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[SQL.&#34;ItemCode&#34;]"/>
      <TfrxMemoView Name="SQLItemName" Left="97.04731" Top="0" Width="194.54452714" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[SQL.&#34;ItemName&#34;]"/>
      <TfrxMemoView Name="Memo20" Left="0" Top="0" Width="26.45671" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[Line#]"/>
      <TfrxMemoView Name="Memo2" Left="362.42857143" Top="0" Width="52.91342" Height="15.11811024" ShowHint="False" DataField="Qty" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Qty&#34;]"/>
      <TfrxMemoView Name="SQLTotalCost" Left="423.64566929" Top="0" Width="86.92912898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[&#60;SQL.&#34;TotalCost&#34;&#62;/&#60;USDRate.&#34;USDRate&#34;&#62;]"/>
      <TfrxMemoView Name="SQLTotalPrice" Left="515.69291339" Top="0" Width="90.70865898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[&#60;SQL.&#34;TotalPrice&#34;&#62;/&#60;USDRate.&#34;USDRate&#34;&#62;]"/>
      <TfrxMemoView Name="TxtProfitPercent" Left="703.96062992" Top="0" Width="52.91337118" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Color="8421631" Highlight.Condition="TxtProfitPercent.value&#60;0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[100*(&#60;SQL.&#34;TotalPrice&#34;&#62;-&#60;SQL.&#34;TotalCost&#34;&#62;)/&#60;SQL.&#34;TotalPrice&#34;&#62;] %"/>
      <TfrxMemoView Name="Memo10" Left="610.42857143" Top="0" Width="90.70865898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[(&#60;SQL.&#34;TotalPrice&#34;&#62;-&#60;SQL.&#34;TotalCost&#34;&#62;)/&#60;USDRate.&#34;USDRate&#34;&#62;]"/>
      <TfrxMemoView Name="Memo30" Left="302.36220472" Top="0" Width="52.91342" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Items.&#34;Qty&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="47.28386" Left="0" ParentFont="False" Top="332" Width="763.46506">
      <TfrxMemoView Name="Memo26" Left="2.44867" Top="26.0476200000001" Width="725.859" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="COUrier" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="[Page#] / [TotalPages#]"/>
      <TfrxMemoView Name="Memo53" Left="470.22078" Top="17.7795299999999" Width="253.41775" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Courier" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[Date]  [Time] "/>
      <TfrxGradientView Name="Gradient2" Left="0" Top="13.9999999999998" Width="733.22834646" Height="3.77953" ShowHint="False" BeginColor="12632256" EndColor="-16777194" Style="gsHorizontal"/>
      <TfrxMemoView Name="Memo47" Left="3.77953" Top="18.89765" Width="325.89528774" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" ParentFont="False" Text="DESENVOLVIDO COM THE MASTER - info@ridleys.co.ao - 925489228"/>
    </TfrxPageFooter>
    <TfrxGroupHeader Name="GroupHeader6" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Height="26.41105048" Left="0" ParentFont="False" Top="144" Width="763.46506" Condition="SQL.&#34;FamilyCode&#34;">
      <TfrxMemoView Name="Memo16" Left="0" Top="3.23624000000001" Width="763.46506" Height="22.67717024" ShowHint="False" Color="15000804" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="1" Frame.Color="8421504" HAlign="haRight" ParentFont="False" WordWrap="False" Text=""/>
      <TfrxMemoView Name="SQLItemFamilyID" Left="3.77953" Top="4.89765" Width="278.44217714" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="5" ParentFont="False" Text="[SQL.&#34;FamilyName&#34;]"/>
      <TfrxMemoView Name="Memo5" Left="362.65714285" Top="7.13141571" Width="52.97056286" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="QTD"/>
      <TfrxMemoView Name="Memo6" Left="423.64566929" Top="7.13141571" Width="86.92912898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="TOTAL COST"/>
      <TfrxMemoView Name="Memo8" Left="515.69291339" Top="7.13141570999994" Width="90.70865898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="TOTAL PRICE"/>
      <TfrxMemoView Name="Memo9" Left="703.96062992" Top="7.13141570999994" Width="52.91337118" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="MARGIN"/>
      <TfrxMemoView Name="Memo12" Left="610.42857143" Top="7.13141570999994" Width="90.70865898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="TOTAL PROFIT"/>
      <TfrxMemoView Name="Memo31" Left="302.36220472" Top="7.10538" Width="52.97056286" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="STOCK"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Height="24.13026116" Left="0" ParentFont="False" Top="228" Width="763.46506">
      <TfrxMemoView Name="TxtTotalCost_A" Left="423.64566929" Top="0" Width="86.92912898" Height="20.78740402" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;TotalCost&#34;&#62;/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="TxtTotalPrice_A" Left="515.69291339" Top="0" Width="90.70865898" Height="17.00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;TotalPrice&#34;&#62;/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo3" Left="703.96062992" Top="0" Width="52.91337118" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[100*(TxtTotalPrice_A.Value-TxtTotalCost_A.Value)/TxtTotalPrice_A.Value] %"/>
      <TfrxMemoView Name="Memo14" Left="610.39370079" Top="0" Width="90.70866142" Height="17.00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM((&#60;SQL.&#34;TotalPrice&#34;&#62;-&#60;SQL.&#34;TotalCost&#34;&#62;)/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData1)]"/>
    </TfrxGroupFooter>
    <TfrxReportSummary Name="ReportSummary1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Height="39.81533714" Left="0" ParentFont="False" Top="272" Width="763.46506">
      <TfrxShapeView Name="Shape2" Left="413.82857143" Top="2.37754999999999" Width="347.43055143" Height="34.40383429" ShowHint="False" Color="14211288" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="TxtTotalCost_C" Left="420.661417322835" Top="9.61826746999998" Width="90.70866142" Height="20.78740402" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;TotalCost&#34;&#62;/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="TxtTotalPrice_C" Left="515.527559055118" Top="9.61826746999998" Width="90.70866142" Height="17.00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;TotalPrice&#34;&#62;/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo18" Left="704.12598425" Top="9.61826747" Width="52.91338583" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[100*(TxtTotalPrice_C.Value-TxtTotalCost_C.Value)/TxtTotalPrice_C.Value] %"/>
      <TfrxMemoView Name="Memo21" Left="610.393700787402" Top="9.13234285999999" Width="90.7086614173228" Height="17.00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM((&#60;SQL.&#34;TotalPrice&#34;&#62;-&#60;SQL.&#34;TotalCost&#34;&#62;)/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData1)]"/>
    </TfrxReportSummary>
    <TfrxReportTitle Name="ReportTitle1" Height="106.67718" Left="0" Top="16" Width="763.46506">
      <TfrxShapeView Name="Shape3" Left="83.03937008" Top="13.50235" Width="158.74016236" Height="52.35906" ShowHint="False" Curve="5" Frame.Color="16711680" Frame.Width="3" Shape="skRoundRectangle"/>
      <TfrxShapeView Name="Shape1" Left="570.15040286" Top="21.19826857" Width="188.9765" Height="71.81107" ShowHint="False" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo17" Left="624.94540995" Top="37.38719857" Width="128.50389795" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxPictureView Name="PicLogo" Left="10.68571429" Top="6.04347571" Width="59.13917949" Height="91.37786" ShowHint="False" Center="True" DataField="LOGO" DataSet="Organisation" DataSetName="Organisation" Picture.PropData="[encoded data, 77492 characters]" HightQuality="True"/>
      <TfrxMemoView Name="Memo1" Left="38.66277" Top="74.04898" Width="678.97031714" Height="22.00340143" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial Black" Font.Style="5" HAlign="haCenter" ParentFont="False" Text="RELATORIO DE VENDA GERAL (usd)"/>
      <TfrxMemoView Name="Memo7" Left="624.94540995" Top="56.72572755" Width="128.50389795" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[SQL.&#34;ToDate&#34;]"/>
      <TfrxMemoView Name="Memo11" Left="579.70923829" Top="60.50525755" Width="41.57476898" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="TO"/>
      <TfrxMemoView Name="Memo25" Left="577.70946286" Top="37.38719857" Width="41.57476898" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="FROM"/>
      <TfrxMemoView Name="Memo28" Left="680.8" Top="1.90235" Width="70.45096" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Courier" Font.Style="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="THE MASTER"/>
      <TfrxMemoView Name="Memo29" Left="66.43937008" Top="5.90235" Width="188.97640236" Height="56.68658" ShowHint="False" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial Black" Font.Style="5" HAlign="haCenter" ParentFont="False" Rotation="10" VAlign="vaCenter" Text="[TxtNote.Text]"/>
    </TfrxReportTitle>
  </TfrxReportPage>
  <TfrxReportPage Name="Page2" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="4" RightMargin="4" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData2" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="0" Left="0" ParentFont="False" Top="241.88992" Width="763.46506" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0"/>
    <TfrxPageFooter Name="PageFooter2" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="25.16574" Left="0" ParentFont="False" Top="393.07112" Width="763.46506">
      <TfrxMemoView Name="Memo33" Align="baCenter" Left="18.80303" Top="10.04762" Width="725.859" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="COUrier" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="[Page#] / [TotalPages#]"/>
      <TfrxMemoView Name="Memo34" Left="505.42078" Top="0.17953" Width="253.41775" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Arial" Font.Style="2" HAlign="haRight" ParentFont="False" Text="[Date]  [Time] "/>
    </TfrxPageFooter>
    <TfrxReportTitle Name="ReportTitle2" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="140.76413143" Left="0" ParentFont="False" Top="18.89765" Width="763.46506">
      <TfrxMemoView Name="Memo35" Left="677.17953" Top="3.72783" Width="70.45096" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Courier" Font.Style="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="THE MASTER"/>
      <TfrxShapeView Name="Shape4" Left="568.55040286" Top="24.75095857" Width="188.9765" Height="71.81107" ShowHint="False" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo36" Left="623.34540995" Top="40.93988857" Width="128.50389795" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxPictureView Name="Picture2" Left="4.28571429" Top="1.59616571" Width="64.93917949" Height="95.37786" ShowHint="False" Center="True" DataField="LOGO" DataSet="Organisation" DataSetName="Organisation" Picture.PropData="[encoded data, 77492 characters]" HightQuality="True"/>
      <TfrxMemoView Name="Memo37" Align="baCenter" Left="50.64737143" Top="74.40167" Width="662.17031714" Height="29.56246143" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial Black" Font.Style="5" HAlign="haCenter" ParentFont="False" Text="RESUMO DE VENDA POR FAMILIA(usd)"/>
      <TfrxMemoView Name="Memo38" Left="623.34540995" Top="60.27841755" Width="128.50389795" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[SQL.&#34;ToDate&#34;]"/>
      <TfrxMemoView Name="Memo39" Left="578.10923829" Top="64.05794755" Width="41.57476898" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="TO"/>
      <TfrxMemoView Name="Memo40" Left="576.10946286" Top="40.93988857" Width="41.57476898" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="FROM"/>
      <TfrxMemoView Name="Memo13" Left="11.2" Top="125.90235" Width="300.11935714" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="5" ParentFont="False" VAlign="vaCenter" Text="FAMILIA"/>
      <TfrxMemoView Name="Memo15" Left="426.50708417" Top="125.90235" Width="90.70866142" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="CUSTO"/>
      <TfrxMemoView Name="Memo19" Left="514.94802906" Top="125.90235" Width="90.70866142" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="VENDA"/>
      <TfrxMemoView Name="Memo22" Left="703.38109992" Top="125.90235" Width="52.91338583" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="MARGIN"/>
      <TfrxMemoView Name="Memo24" Left="609.81417079" Top="125.90235" Width="90.70866142" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="LUCRO"/>
      <TfrxMemoView Name="Memo27" Left="325.43621803" Top="125.90235" Width="65.76377953" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="QTD"/>
    </TfrxReportTitle>
    <TfrxGroupHeader Name="GroupHeader3" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Height="0" Left="0" ParentFont="False" Top="219.21274" Width="763.46506" Condition="SQL.&#34;FamilyCode&#34;"/>
    <TfrxGroupFooter Name="GroupFooter2" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Height="13.22834646" Left="0" ParentFont="False" Top="264.5671" Width="763.46506">
      <TfrxMemoView Name="Memo42" Left="11.77953" Top="0" Width="300.11935714" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[SQL.&#34;FamilyName&#34;]"/>
      <TfrxMemoView Name="TxtTotalCost_A1" Left="427.08661417" Top="0" Width="90.70866142" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;TotalCost&#34;&#62;/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="TxtTotalPrice_A1" Left="515.52755906" Top="0" Width="90.70866142" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;TotalPrice&#34;&#62;/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="TxtMargin" Left="703.96062992" Top="0" Width="52.91338583" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-9" Highlight.Font.Name="Arial" Highlight.Font.Style="1" Highlight.Condition="TxtMargin.Value&#60;0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[100*(TxtTotalPrice_A1.Value-TxtTotalCost_A1.Value)/TxtTotalPrice_A1.Value] %"/>
      <TfrxMemoView Name="Memo51" Left="610.39370079" Top="0" Width="90.70866142" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM((&#60;SQL.&#34;TotalPrice&#34;&#62;-&#60;SQL.&#34;TotalCost&#34;&#62;)/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="Memo23" Left="326.01574803" Top="0" Width="65.76377953" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;QTY&#34;&#62;,MasterData2)]"/>
    </TfrxGroupFooter>
    <TfrxReportSummary Name="ReportSummary2" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Height="30.62430429" Left="0" ParentFont="False" Top="340.1577" Width="763.46506">
      <TfrxShapeView Name="Shape5" Left="321.02857143" Top="0" Width="438.63055143" Height="30.62430429" ShowHint="False" Color="14211288" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="TxtTotalCost_C1" Left="415.08661417" Top="4.01826747000001" Width="97.90866142" Height="20.78740402" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;TotalCost&#34;&#62;/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="TxtTotalPrice_C1" Left="515.52755906" Top="5.61826746999998" Width="90.70866142" Height="17.00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;TotalPrice&#34;&#62;/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="Memo56" Left="704.12598425" Top="5.61826747" Width="52.91338583" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[100*(TxtTotalPrice_C1.Value-TxtTotalCost_C1.Value)/TxtTotalPrice_C1.Value] %"/>
      <TfrxMemoView Name="Memo57" Left="610.39370079" Top="5.13234285999999" Width="90.70866142" Height="17.00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM((&#60;SQL.&#34;TotalPrice&#34;&#62;-&#60;SQL.&#34;TotalCost&#34;&#62;)/&#60;USDRate.&#34;USDRate&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="Memo4" Left="326.17322835" Top="8.08794" Width="65.76377953" Height="17.51811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.DropShadow="True" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;QTY&#34;&#62;,MasterData2)]"/>
    </TfrxReportSummary>
  </TfrxReportPage>
  <TfrxReportPage Name="Page3" PaperWidth="215.9" PaperHeight="279.4" PaperSize="1" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData3" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="26.45670024" Left="0" ParentFont="False" Top="234.33086" Width="740.409927" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="Memo32" Left="29.7953" Top="0" Width="61.78293143" Height="15.11811024" ShowHint="False" DataField="ItemCode" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[SQL.&#34;ItemCode&#34;]"/>
      <TfrxMemoView Name="Memo41" Left="97.04731" Top="0" Width="194.54452714" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[SQL.&#34;ItemName&#34;]"/>
      <TfrxMemoView Name="Memo43" Left="0" Top="0" Width="26.45671" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[Line#]"/>
      <TfrxMemoView Name="Memo44" Left="340.15748031" Top="0" Width="86.92913386" Height="15.11811024" ShowHint="False" DataField="Qty" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Qty&#34;]"/>
      <TfrxMemoView Name="Memo48" Left="445.98454" Top="0" Width="86.92913386" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[&#60;SQL.&#34;QTY&#34;&#62;/&#60;Items.&#34;PalletSize&#34;&#62;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter3" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="47.28386" Left="0" ParentFont="False" Top="445.98454" Width="740.409927">
      <TfrxMemoView Name="Memo50" Left="2.44867" Top="26.04762" Width="725.859" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="COUrier" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="[Page#] / [TotalPages#]"/>
      <TfrxMemoView Name="Memo52" Left="470.22078" Top="17.77953" Width="253.41775" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Courier" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[Date]  [Time] "/>
      <TfrxMemoView Name="Memo55" Left="2.77953" Top="16.77953" Width="468.85096" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Courier" Font.Style="0" ParentFont="False" Text="THE MASTER"/>
      <TfrxGradientView Name="Gradient1" Left="0" Top="14" Width="733.22834646" Height="3.77953" ShowHint="False" BeginColor="12632256" EndColor="-16777194" Style="gsHorizontal"/>
    </TfrxPageFooter>
    <TfrxGroupHeader Name="GroupHeader1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Height="26.41105048" Left="0" ParentFont="False" Top="185.19697" Width="740.409927" Condition="SQL.&#34;FamilyCode&#34;">
      <TfrxMemoView Name="Memo59" Left="3.77953" Top="4.89765" Width="278.44217714" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="5" ParentFont="False" Text="[SQL.&#34;FamilyName&#34;]"/>
      <TfrxMemoView Name="Memo60" Left="340.15748031" Top="7.55905511811024" Width="86.92913386" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="QTD"/>
      <TfrxMemoView Name="Memo49" Left="445.98454" Top="7.55906" Width="86.92913386" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="PALLETs"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter3" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Height="39.24838116" Left="0" ParentFont="False" Top="283.46475" Width="740.409927">
      <TfrxMemoView Name="Memo66" Left="340.15748031" Top="0" Width="86.92913386" Height="20.78740402" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;Qty&#34;&#62;,MasterData3)]"/>
      <TfrxMemoView Name="Memo54" Left="438.42548" Top="0" Width="86.92913386" Height="20.78740402" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;QTY&#34;&#62;/&#60;Items.&#34;PalletSize&#34;&#62;,MasterData3)]"/>
    </TfrxGroupFooter>
    <TfrxReportSummary Name="ReportSummary3" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Height="39.81533714" Left="0" ParentFont="False" Top="381.73253" Width="740.409927">
      <TfrxMemoView Name="Memo45" Left="340.157480314961" Top="11.33859" Width="86.9291338582677" Height="20.78740402" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;Qty&#34;&#62;,MasterData3)]"/>
      <TfrxMemoView Name="Memo58" Left="438.42548" Top="11.33859" Width="86.92913386" Height="20.78740402" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;QTY&#34;&#62;/&#60;Items.&#34;PalletSize&#34;&#62;,MasterData3)]"/>
    </TfrxReportSummary>
    <TfrxReportTitle Name="ReportTitle3" Height="106.67718" Left="0" Top="18.89765" Width="740.409927">
      <TfrxShapeView Name="Shape8" Left="570.15040286" Top="21.19826857" Width="188.9765" Height="71.81107" ShowHint="False" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo74" Left="624.94540995" Top="37.38719857" Width="128.50389795" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxPictureView Name="Picture1" Left="10.68571429" Top="6.04347571" Width="59.13917949" Height="91.37786" ShowHint="False" Center="True" DataField="LOGO" DataSet="Organisation" DataSetName="Organisation" Picture.PropData="[encoded data, 77492 characters]" HightQuality="True"/>
      <TfrxMemoView Name="Memo75" Align="baCenter" Left="149.77499993" Top="74.04898" Width="440.85992714" Height="22.00340143" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial Black" Font.Style="5" HAlign="haCenter" ParentFont="False" Text="RELATORIO DE VENDA GERAL (QTY ONLY)"/>
      <TfrxMemoView Name="Memo76" Left="624.94540995" Top="56.72572755" Width="128.50389795" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[SQL.&#34;ToDate&#34;]"/>
      <TfrxMemoView Name="Memo77" Left="579.70923829" Top="60.50525755" Width="41.57476898" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="TO"/>
      <TfrxMemoView Name="Memo78" Left="577.70946286" Top="37.38719857" Width="41.57476898" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="FROM"/>
      <TfrxMemoView Name="Memo79" Left="680.8" Top="1.90235" Width="70.45096" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Courier" Font.Style="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="THE MASTER"/>
      <TfrxShapeView Name="Shape6" Left="126.20637" Top="11.37953" Width="158.74016236" Height="52.35906" ShowHint="False" Curve="5" Frame.Color="16711680" Frame.Width="3" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo46" Left="109.60637" Top="3.77953" Width="188.97640236" Height="56.68658" ShowHint="False" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial Black" Font.Style="5" HAlign="haCenter" ParentFont="False" Rotation="10" VAlign="vaCenter" Text="[TxtNote.Text]"/>
    </TfrxReportTitle>
  </TfrxReportPage>
  <TfrxDialogPage Name="DialogPage1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" BorderStyle="bsDialog" Height="219" Left="599" Top="160" Width="286">
    <TfrxButtonControl Name="CmdFamilyOnly" Left="18" Top="106" Width="239" Height="25" ShowHint="True" Caption="Family Only" ModalResult="1" OnClick="CmdFamilyOnlyOnClick"/>
    <TfrxButtonControl Name="CmdDetails" Left="18" Top="77" Width="239" Height="25" ShowHint="True" Caption="Details" ModalResult="1" OnClick="CmdDetailsOnClick"/>
    <TfrxLabelControl Name="Label1" Left="19" Top="24" Width="23" Height="13" ShowHint="True" Caption="Note" Color="-16777201"/>
    <TfrxEditControl Name="TxtNote" Left="17" Top="47" Width="239" Height="21" ShowHint="True" Color="-16777211" MaxLength="0" PasswordChar="0"/>
    <TfrxButtonControl Name="CmdQtyOnly" Left="20" Top="140" Width="235" Height="25" ShowHint="True" Caption="Qty Only" ModalResult="1" OnClick="CmdQtyOnlyOnClick"/>
  </TfrxDialogPage>
</TfrxReport>
