<?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="42320,5378727431" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;procedure CmdByFamilyOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;page1.visible:=true;&#13;&#10;page2.visible:=false;    &#13;&#10;end;&#13;&#10;&#13;&#10;procedure CmdAllOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  page1.visible:=false;&#13;&#10;  page2.visible:=true;  &#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end." PropData="08446174617365747301010C2000000020446174615365743D2253514C2220446174615365744E616D653D2253514C2200010C3200000020446174615365743D224F7267616E69736174696F6E2220446174615365744E616D653D224F7267616E69736174696F6E220000095661726961626C65730100055374796C650100">
  <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 '' AS FROMDATE,'' AS TODATE, * from _Tmp_Stk_Analyse_3 order by familyid,itemcode                                                                                                                                                   " 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="05704C6566740383000470546F7002240A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="6" RightMargin="4" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxReportTitle Name="ReportTitle2" Height="97,90972349" Left="0" Top="18,89765" Width="755,906">
      <TfrxMemoView Name="Memo23" Align="baCenter" Left="35,708875" Top="48,13568333" Width="684,48825" Height="40,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="elephant" Font.Style="4" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="STOCK ANALYSIS"/>
      <TfrxPictureView Name="PicLogo" Left="0" Top="0" Width="65,68825" Height="84,36431666" ShowHint="False" DataField="LOGO" DataSet="Organisation" DataSetName="Organisation" HightQuality="False"/>
      <TfrxMemoView Name="Memo24" Left="645,01968504" Top="15,66929134" Width="94,48818898" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="dd/mm/yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxMemoView Name="Memo25" Left="645,01968504" Top="34,56692913" Width="94,48818898" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="dd/mm/yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;ToDate&#34;]"/>
      <TfrxMemoView Name="Memo26" Left="569,42913386" Top="15,66929134" Width="75,59055118" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="DE DATA"/>
      <TfrxMemoView Name="Memo27" Left="566,92913386" Top="36,2335958" Width="75,59055118" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="ATE DATA"/>
    </TfrxReportTitle>
    <TfrxMasterData Name="MasterData2" Height="16,56167979" Left="0" Top="272,12616" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="Memo40" Left="3,77952756" Top="1,88976378" Width="738,87384" 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" Frame.Color="13421772" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-9" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Color="15987699" Highlight.Condition="&#60;Line#&#62; mod 2 = 0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo41" Left="26,90551181" Top="1,88976378" Width="56,69291583" Height="13,22834646" ShowHint="False" DataField="ItemCode" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8388736" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;ItemCode&#34;]"/>
      <TfrxMemoView Name="Memo42" Left="85,5984252" Top="1,88976378" Width="199,76375512" Height="13,22834646" ShowHint="False" DataField="ItemName" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8388736" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;ItemName&#34;]"/>
      <TfrxMemoView Name="Memo43" Left="499,22047244" Top="1,88976378" Width="41,57480315" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Stk&#34;]"/>
      <TfrxMemoView Name="Memo47" Left="543,57480315" Top="1,88976378" Width="34,01574559" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;AvgSalePerDay&#34;]"/>
      <TfrxMemoView Name="Memo51" Left="581,1496063" Top="1,88976378" Width="37,79527559" Height="13,22834646" ShowHint="False" DataField="EstimationDays" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;EstimationDays&#34;]"/>
      <TfrxMemoView Name="Memo52" Left="1,88976378" Top="1,88976378" Width="22,67715559" Height="13,22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="13421772" Frame.Typ="15" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Line#]"/>
      <TfrxMemoView Name="Memo32" Left="621,72440945" Top="1,88976378" Width="45,35433071" Height="13,22834646" ShowHint="False" DataField="Cost" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Cost&#34;]"/>
      <TfrxMemoView Name="SQLPrice" Left="669,85826772" Top="1,88976378" Width="37,79527559" Height="13,22834646" ShowHint="False" DataField="Price" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Price&#34;]"/>
      <TfrxMemoView Name="Memo33" Left="710,551181102362" Top="1,88976378" Width="43,4645669291339" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-9" Highlight.Font.Name="Arial" Highlight.Font.Style="1" Highlight.Condition="&#60;SQL.&#34;Price&#34;&#62;&#60;&#60;SQL.&#34;Cost&#34;&#62;" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[100*(&#60;SQL.&#34;Price&#34;&#62;-&#60;SQL.&#34;Cost&#34;&#62;)/&#60;SQL.&#34;Price&#34;&#62;] %"/>
      <TfrxMemoView Name="Memo49" Left="369,93700787" Top="1,88976378" Width="41,57478118" Height="13,22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="dd/mm/yy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;LastPurchaseDate&#34;]"/>
      <TfrxMemoView Name="Memo50" Left="414,23622047" Top="1,88976378" Width="41,57479339" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;LastPurchaseQty&#34;]"/>
      <TfrxMemoView Name="Memo55" Left="458,70866142" Top="1,88976378" Width="37,79526339" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;LastPurchaseCost&#34;]"/>
      <TfrxMemoView Name="Memo63" Left="326,66929134" Top="1,88976378" Width="41,57479827" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;InTransitQty&#34;]"/>
      <TfrxMemoView Name="Memo80" Left="286,70866142" Top="1,88976378" Width="37,79527559" Height="13,22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;OrderedQty&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter2" Height="39,67718" Left="0" Top="476,22078" Width="755,906">
      <TfrxMemoView Name="Memo53" Align="baCenter" Left="250,555362205" Top="19,69264" Width="254,79527559" Height="12,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Page#]/[TotalPages#]"/>
      <TfrxMemoView Name="Memo54" Left="496,7444472" Top="8" Width="254,79527559" Height="12,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[&#60;Date&#62;]  [&#60;Time&#62;]"/>
      <TfrxLineView Name="Line2" Left="0,83333333" Top="2,00896667" Width="759,5" Height="0" ShowHint="False" Diagonal="True"/>
      <TfrxMemoView Name="Memo84" Left="3,77953" Top="3,77953" 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="GroupHeader1" Height="70,35433071" Left="0" Top="177,63791" Width="755,906" Condition="SQL.&#34;familyID&#34;">
      <TfrxMemoView Name="Memo28" Left="0" Top="25" Width="755,90551181" Height="44,22047244" ShowHint="False" Color="13421772" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Color="8421504" Frame.Typ="15" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo29" Left="26,90551181" Top="28,34645669" Width="56,69291583" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="CODE"/>
      <TfrxMemoView Name="Memo30" Left="85,5984252" Top="28,34645669" Width="199,76375512" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="DESCR"/>
      <TfrxMemoView Name="Memo31" Left="499,22047244" Top="28,34645669" Width="41,57480315" Height="37,79527559" ShowHint="False" Color="-16777201" 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.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="STOCK"/>
      <TfrxMemoView Name="Memo35" Left="543,57480315" Top="28,34645669" Width="34,01574559" Height="37,79527559" ShowHint="False" Color="-16777201" 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.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="DAILY"/>
      <TfrxMemoView Name="Memo39" Left="581,1496063" Top="28,34645669" Width="37,79527559" Height="37,79527559" ShowHint="False" Color="-16777201" 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.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="COVER"/>
      <TfrxMemoView Name="Memo34" Left="621,72440945" Top="28,34645669" Width="45,35433071" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="CUSTO&#13;&#10;MEDIO"/>
      <TfrxMemoView Name="Memo36" Left="669,85826772" Top="28,34645669" Width="37,79527559" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="PRECO"/>
      <TfrxMemoView Name="Memo37" Left="710,551181102362" Top="28,34645669" Width="43,4645669291339" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="MARGIN"/>
      <TfrxMemoView Name="Memo38" Left="369,93700787" Top="28,34645669" Width="126,61417323" Height="18,62860892" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="ULTIMO COMPRA"/>
      <TfrxMemoView Name="Memo44" Left="458,70866142" Top="49,62335957" Width="37,79526339" Height="15,87401575" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="COST"/>
      <TfrxMemoView Name="Memo45" Left="414,23622047" Top="49,62335957" Width="41,57479339" Height="15,87401575" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="QTD"/>
      <TfrxMemoView Name="Memo46" Left="369,93700787" Top="49,62335957" Width="41,57478118" Height="15,87401575" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="DATA"/>
      <TfrxMemoView Name="SQLFamilyName" Left="0" Top="0" Width="472,29684667" Height="27,67718" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="8421504" Frame.DropShadow="True" Frame.Typ="15" Frame.Width="2" ParentFont="False" VAlign="vaCenter" Text=" [SQL.&#34;FamilyName&#34;]"/>
      <TfrxMemoView Name="Memo48" Left="1,88976378" Top="28,34645669" Width="22,67715559" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="SEQ"/>
      <TfrxMemoView Name="Memo68" Left="326,6" Top="28,34645669" Width="41,57479583" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="TRANSIT"/>
      <TfrxMemoView Name="Memo83" Left="286,72727273" Top="28,34645669" Width="37,79527559" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="ORDER"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" Height="34,51051333" Left="0" Top="309,92146" Width="755,906">
      <TfrxMemoView Name="Memo56" Left="476,22047244" Top="1" Width="267,27056334" Height="33,51051333" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Frame.Width="2" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="TxtTotalCost_A" Left="480" Top="18,8976378" Width="75,59055118" 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" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;Stk&#34;&#62;*&#60;SQL.&#34;Cost&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="TxtTotalPrice_A" Left="573,92913386" Top="18,8976378" Width="75,59055118" 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" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;Stk&#34;&#62;*&#60;SQL.&#34;PRICE&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="Memo59" Left="661,92257218" Top="18,8976378" Width="75,59055118" 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" Frame.Color="13421772" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-9" Highlight.Font.Name="Arial" Highlight.Font.Style="1" Highlight.Condition="TxtTotalPrice_A.Value&#60;TxtTotalCost_A.Value" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[100*(txttotalprice_a.value-txttotalcost_a.value)/txttotalprice_a.value] %"/>
      <TfrxMemoView Name="Memo57" Left="480" Top="3,59554666999998" Width="75,59055118" 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="1" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="CUSTO TOTAL"/>
      <TfrxMemoView Name="Memo58" Left="573,92913386" Top="3,59554666999998" Width="75,59055118" 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="1" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="PRECO TOTAL"/>
      <TfrxMemoView Name="Memo60" Left="661,92257218" Top="3,59554666999998" Width="75,59055118" 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="1" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="MARGIN MEDIA"/>
    </TfrxGroupFooter>
    <TfrxReportSummary Name="ReportSummary1" Height="47,17785092" Left="0" Top="404,40971" Width="755,906">
      <TfrxGradientView Name="Gradient1" Left="258,62068965" Top="4,99125587000003" Width="260,69514655" Height="36,13902931" ShowHint="False" Style="gsHorizCenter"/>
      <TfrxMemoView Name="Memo61" Left="257,93103448" Top="4,37056621000011" Width="267,27056334" Height="42,80728471" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.DropShadow="True" Frame.Typ="15" Frame.Width="2" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="TxtTotalCost_B" Left="261,71056204" Top="24,26820401" Width="75,59055118" 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" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;Stk&#34;&#62;*&#60;SQL.&#34;Cost&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="TxtTotalPrice_B" Left="355,6396959" Top="24,26820401" Width="75,59055118" 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" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;Stk&#34;&#62;*&#60;SQL.&#34;PRICE&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="Memo64" Left="442,63313422" Top="24,26820401" Width="75,59055118" 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" Frame.Color="13421772" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-9" Highlight.Font.Name="Arial" Highlight.Font.Style="1" Highlight.Condition="TxtTotalPrice_A.Value&#60;TxtTotalCost_A.Value" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[100*(txttotalprice_B.value-txttotalcost_B.value)/txttotalprice_B.value] %"/>
      <TfrxMemoView Name="Memo65" Left="261,71056204" Top="8,96611288000003" Width="75,59055118" 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="1" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="CUSTO TOTAL"/>
      <TfrxMemoView Name="Memo66" Left="355,6396959" Top="8,96611288000003" Width="75,59055118" 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="1" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="PRECO TOTAL"/>
      <TfrxMemoView Name="Memo67" Left="442,63313422" Top="8,96611288000003" Width="75,59055118" 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="1" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="MARGIN MEDIA"/>
    </TfrxReportSummary>
  </TfrxReportPage>
  <TfrxReportPage Name="Page2" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="8" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxReportTitle Name="ReportTitle1" Height="152,88992244" Left="0" Top="18,89765" Width="744,56741">
      <TfrxMemoView Name="Memo1" Align="baCenter" Left="30,03958" Top="48,13568333" Width="684,48825" Height="40,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="elephant" Font.Style="4" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="STOCK ANALYSIS"/>
      <TfrxPictureView Name="Picture1" Left="0" Top="0" Width="65,68825" Height="84,36431666" ShowHint="False" DataField="LOGO" DataSet="Organisation" DataSetName="Organisation" HightQuality="False"/>
      <TfrxMemoView Name="Memo2" Left="645,01968504" Top="15,66929134" Width="94,48818898" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="dd/mm/yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxMemoView Name="Memo3" Left="645,01968504" Top="34,56692913" Width="94,48818898" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="dd/mm/yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;ToDate&#34;]"/>
      <TfrxMemoView Name="Memo4" Left="569,42913386" Top="15,66929134" Width="75,59055118" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="DE DATA"/>
      <TfrxMemoView Name="Memo5" Left="566,92913386" Top="36,2335958" Width="75,59055118" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="ATE DATA"/>
      <TfrxMemoView Name="Memo22" Left="0" Top="108,66945" Width="745,32281268" Height="44,22047244" ShowHint="False" Color="13421772" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Color="8421504" Frame.Typ="15" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo62" Left="30,90551181" Top="112,01590669" Width="56,69291583" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="CODE"/>
      <TfrxMemoView Name="Memo69" Left="89,5984252" Top="112,01590669" Width="202,20469512" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="DESCR"/>
      <TfrxMemoView Name="Memo70" Left="476,22047244" Top="112,01590669" Width="41,57480315" Height="37,79527559" ShowHint="False" Color="-16777201" 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.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="STOCK"/>
      <TfrxMemoView Name="Memo71" Left="521,574803149606" Top="112,01590669" Width="37,7952755905512" Height="37,79527559" ShowHint="False" Color="-16777201" 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.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="DAIRIA"/>
      <TfrxMemoView Name="Memo72" Left="563,149606299213" Top="112,01590669" Width="37,7952755905512" Height="37,79527559" ShowHint="False" Color="-16777201" 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.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="COVER"/>
      <TfrxMemoView Name="Memo73" Left="604,72440945" Top="112,01590669" Width="45,35433071" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="CUSTO&#13;&#10;MEDIO"/>
      <TfrxMemoView Name="Memo74" Left="653,858267716535" Top="112,01590669" Width="37,7952755905512" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="PRECO"/>
      <TfrxMemoView Name="Memo75" Left="695,433070866142" Top="112,01590669" Width="45,3543307086614" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="MARGIN"/>
      <TfrxMemoView Name="Memo76" Left="343,93700787" Top="112,01590669" Width="126,614173228346" Height="18,62860892" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="ULTIMO COMPRA"/>
      <TfrxMemoView Name="Memo77" Left="432,70866142" Top="133,29280957" Width="37,79526339" Height="15,87401575" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="CUSTO"/>
      <TfrxMemoView Name="Memo78" Left="388,23622047" Top="133,29280957" Width="41,57479339" Height="15,87401575" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="QTD"/>
      <TfrxMemoView Name="Memo79" Left="343,93700787" Top="133,29280957" Width="41,57478118" Height="15,87401575" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="DATA"/>
      <TfrxMemoView Name="Memo81" Left="1,88976378" Top="112,01590669" Width="26,45668559" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="SEQ"/>
      <TfrxMemoView Name="Memo82" Left="293,6" Top="112,01590669" Width="49,13385583" Height="37,79527559" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="TRANSIT"/>
    </TfrxReportTitle>
    <TfrxMasterData Name="MasterData1" Height="16,56167979" Left="0" Top="234,33086" Width="744,56741" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="Memo6" Left="3,77952756" Top="1,88976378000001" Width="738,87384" 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" Frame.Color="13421772" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-9" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Color="15987699" Highlight.Condition="&#60;Line#&#62; mod 2 = 0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo7" Left="30,90551181" Top="1,88976378" Width="56,69291583" Height="13,22834646" ShowHint="False" DataField="ItemCode" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8388736" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;ItemCode&#34;]"/>
      <TfrxMemoView Name="Memo8" Left="89,5984252" Top="1,88976378" Width="202,20469512" Height="13,22834646" ShowHint="False" DataField="ItemName" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8388736" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;ItemName&#34;]"/>
      <TfrxMemoView Name="Memo9" Left="476,22047244" Top="1,88976378000001" Width="41,57480315" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Stk&#34;]"/>
      <TfrxMemoView Name="Memo10" Left="521,574803149606" Top="1,88976378000001" Width="37,7952755905512" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;AvgSalePerDay&#34;]"/>
      <TfrxMemoView Name="Memo11" Left="563,149606299213" Top="1,88976378000001" Width="37,7952755905512" Height="13,22834646" ShowHint="False" DataField="EstimationDays" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;EstimationDays&#34;]"/>
      <TfrxMemoView Name="Memo12" Left="1,88976378" Top="1,88976378000001" Width="26,45668559" Height="13,22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="13421772" Frame.Typ="15" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Line#]"/>
      <TfrxMemoView Name="Memo13" Left="604,72440945" Top="1,88976378000001" Width="45,35433071" Height="13,22834646" ShowHint="False" DataField="Cost" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Cost&#34;]"/>
      <TfrxMemoView Name="Memo14" Left="653,85826772" Top="1,88976378000001" Width="37,79527559" Height="13,22834646" ShowHint="False" DataField="Price" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Price&#34;]"/>
      <TfrxMemoView Name="Memo15" Left="695,43307087" Top="1,88976378000001" Width="45,35433071" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-9" Highlight.Font.Name="Arial" Highlight.Font.Style="1" Highlight.Condition="&#60;SQL.&#34;Price&#34;&#62;&#60;&#60;SQL.&#34;Cost&#34;&#62;" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[100*(&#60;SQL.&#34;Price&#34;&#62;-&#60;SQL.&#34;Cost&#34;&#62;)/&#60;SQL.&#34;Price&#34;&#62;] %"/>
      <TfrxMemoView Name="Memo16" Left="343,93700787" Top="1,88976378000001" Width="41,57478118" Height="13,22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="dd/mm/yy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;LastPurchaseDate&#34;]"/>
      <TfrxMemoView Name="Memo17" Left="388,23622047" Top="1,88976378000001" Width="41,57479339" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;LastPurchaseQty&#34;]"/>
      <TfrxMemoView Name="Memo18" Left="432,70866142" Top="1,88976378000001" Width="37,79526339" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;LastPurchaseCost&#34;]"/>
      <TfrxMemoView Name="Memo19" Left="293,66929134" Top="1,88976378000001" Width="49,1338582677165" 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" Frame.Color="13421772" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;InTransitQty&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" Height="39,67718" Left="0" Top="381,73253" Width="744,56741">
      <TfrxMemoView Name="Memo20" Align="baCenter" Left="244,886067205" Top="19,6926400000001" Width="254,79527559" Height="12,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Page#]/[TotalPages#]"/>
      <TfrxMemoView Name="Memo21" Left="496,7444472" Top="8,00000000000011" Width="254,79527559" Height="12,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[&#60;Date&#62;]  [&#60;Time&#62;]"/>
      <TfrxLineView Name="Line1" Left="0,83333333" Top="2,00896666999995" Width="759,5" Height="0,83333333" ShowHint="False" Diagonal="True"/>
    </TfrxPageFooter>
    <TfrxReportSummary Name="ReportSummary2" Height="47,17785092" Left="0" Top="309,92146" Width="744,56741">
      <TfrxGradientView Name="Gradient2" Left="258,62068965" Top="4,99125586999998" Width="260,69514655" Height="36,13902931" ShowHint="False" Style="gsHorizCenter"/>
      <TfrxMemoView Name="Memo90" Left="257,93103448" Top="4,37056620999999" Width="267,27056334" Height="42,80728471" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.DropShadow="True" Frame.Typ="15" Frame.Width="2" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="TxtTotalCost_B_2" Left="261,71056204" Top="24,26820401" Width="75,59055118" 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" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;Stk&#34;&#62;*&#60;SQL.&#34;Cost&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="TxtTotalPrice_B_2" Left="355,6396959" Top="24,26820401" Width="75,59055118" 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" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;Stk&#34;&#62;*&#60;SQL.&#34;PRICE&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo93" Left="442,63313422" Top="24,26820401" Width="75,59055118" Height="13,22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Color="13421772" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-8" Highlight.Font.Name="Arial" Highlight.Font.Style="1" Highlight.Condition="TxtTotalPrice_A.Value&#60;TxtTotalCost_A.Value" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[100*(TxtTotalPrice_B_2.value-TxtTotalCost_B_2.value)/TxtTotalPrice_B_2.value] %"/>
      <TfrxMemoView Name="Memo94" Left="261,71056204" Top="8,96611288000003" Width="75,59055118" 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="1" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="CUSTO TOTAL"/>
      <TfrxMemoView Name="Memo95" Left="355,6396959" Top="8,96611288000003" Width="75,59055118" 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="1" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="PRECO TOTAL"/>
      <TfrxMemoView Name="Memo96" Left="442,63313422" Top="8,96611288000003" Width="75,59055118" 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="1" Frame.Color="13421772" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="MARGIN MEDIA"/>
    </TfrxReportSummary>
  </TfrxReportPage>
  <TfrxDialogPage Name="DialogPage1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" BorderStyle="bsDialog" Height="278" Left="600" Top="127" Width="573">
    <TfrxButtonControl Name="CmdByFamily" Left="30" Top="59" Width="226" Height="125" ShowHint="True" Caption="POR FAMILIA" Default="True" ModalResult="1" OnClick="CmdByFamilyOnClick"/>
    <TfrxButtonControl Name="CmdAll" Left="297" Top="61" Width="226" Height="125" ShowHint="True" Caption="UMA LISTA" ModalResult="1" OnClick="CmdAllOnClick"/>
  </TfrxDialogPage>
</TfrxReport>
