<?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,5266483449" ScriptLanguage="PascalScript" ScriptText.Text="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="05704C65667402260470546F700224"/>
    <TfrxADOQuery Name="SQL" UserName="SQL" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="select 'Ali' as PrintedBy ,'01/04/2010' AS FromDate,  '12/05/2010' AS ToDate   , SaleRep     ,  sum(ComissionValue) As ValToPay&#13;&#10;FROM TMP_RPT_SALE_COMISSIONS where ( [InvDate] BETWEEN '2010-4-1' AND '2010-5-12') group by SaleRep  " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402510470546F7002220A506172616D65746572730100"/>
    <TfrxADOQuery Name="Organisation" UserName="Organisation" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="SELECT * FROM Organisation                                                                                                          " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402000470546F7002000A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="15" RightMargin="10" TopMargin="7,5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxPageFooter Name="PageFooter1" Height="41,57483" Left="0" Top="388" Width="699,21305">
      <TfrxMemoView Name="Memo1" Left="3,77953" Top="22,67718" Width="691,57108387" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-11" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="PAGE [Page#] OF [TotalPages#]"/>
      <TfrxLineView Name="Line1" Left="2,77953" Top="18,8976378" Width="695,43352" Height="0" ShowHint="False" Frame.Color="12632256" Diagonal="True"/>
      <TfrxMemoView Name="Memo37" Left="3,77953" Top="0" 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>
    <TfrxReportTitle Name="ReportTitle1" Height="227,94482819" Left="0" Top="16" Width="699,21305">
      <TfrxPictureView Name="PicLogo" Left="0" Top="0,83240571" Width="155,59811615" Height="48,14131095" ShowHint="False" Center="True" DataField="LOGO" DataSet="Organisation" DataSetName="Organisation" Picture.PropData="[encoded data, 77492 characters]" HightQuality="True"/>
      <TfrxMemoView Name="Memo25" Left="4,33858268" Top="115,17099571" Width="694,76555423" Height="32,44093024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="5" HAlign="haCenter" ParentFont="False" Text="SALES REPRESENTATIVE COMMISSIONS REPORT"/>
      <TfrxMemoView Name="Memo27" Left="83,26039131" Top="166,9979739" Width="90,70865898" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="dd/mm/yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxMemoView Name="Memo28" Left="83,26039131" Top="183,9027358" Width="90,70865898" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="dd/mm/yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[SQL.&#34;ToDate&#34;]"/>
      <TfrxMemoView Name="Memo29" Left="11,3385826771654" Top="185,04559294" Width="68,03149606" Height="15,11811024" 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 DATE"/>
      <TfrxMemoView Name="Memo30" Left="11,3385826771654" Top="167,9027358" Width="68,03149606" Height="15,11811024" 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 DATE"/>
      <TfrxMemoView Name="Memo2" Left="11,3385826771654" Top="208,06308" Width="400,63018" Height="18,89765" 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="SALES REP NAME"/>
      <TfrxMemoView Name="Memo3" Left="427,08689" Top="208,06308" Width="136,06308" Height="18,89765" 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" VAlign="vaCenter" Text="VALUE TO PAY"/>
    </TfrxReportTitle>
    <TfrxMasterData Name="MasterData1" Height="18,89765" Left="0" Top="264" Width="699,21305" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="SQLSaleRep" Left="11,3385826771654" Top="0" Width="400,63018" Height="18,89765" ShowHint="False" DataField="SaleRep" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[SQL.&#34;SaleRep&#34;]"/>
      <TfrxMemoView Name="SQLValToPay" Left="427,08689" Top="0" Width="136,06308" Height="18,89765" 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" VAlign="vaCenter" Text="[SQL.&#34;ValToPay&#34;]"/>
    </TfrxMasterData>
    <TfrxReportSummary Name="ReportSummary1" Height="64,25201" Left="0" Top="304" Width="699,21305">
      <TfrxMemoView Name="Memo18" Left="188,9765" Top="0" Width="374,1734163" Height="30,23623024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="TOTAL COMMISSIONS TO PAY: [SUM(&#60;SQL.&#34;ValToPay&#34;&#62;,MasterData1)]"/>
    </TfrxReportSummary>
  </TfrxReportPage>
</TfrxReport>
