<?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="42315,48416125" ScriptLanguage="PascalScript" ScriptText.Text="begin&#13;&#10;&#13;&#10;end." PropData="08446174617365747301010C2000000020446174615365743D2253514C2220446174615365744E616D653D2253514C2200010C2800000020446174615365743D2244657461696C732220446174615365744E616D653D2244657461696C732200010C3200000020446174615365743D224F7267616E69736174696F6E2220446174615365744E616D653D224F7267616E69736174696F6E220000095661726961626C65730100055374796C650100">
  <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 &#13;&#10;  dbo.Fn_Balance_Till_Date ([id],'2009-12-10',0) AS OpeningBalance , &#13;&#10;   dbo.Fn_Balance_Till_Date ([id],'2009-12-15',1) AS ClosingBalance,&#13;&#10;      dbo.Fn_Balance_Till_Date ([id],Null,1) AS CurrentBalance,       &#13;&#10;      '2009-12-10' AS FromDate , '2009-12-15' AS ToDate, 'Ali' AS PrintedBy,&#13;&#10;  * from Vw_Rpt_Account_Statement_Header   where [ID] = 1" CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402510470546F7002220A506172616D65746572730100"/>
    <TfrxADOQuery Name="Details" UserName="Details" CloseDataSource="True" FieldAliases.Text="" Master="SQL" IgnoreDupParams="False" SQL.Text="select   * from TMP_ACC_STATEMENT_DETAILS  " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C656674027C0470546F7002200A506172616D65746572730100"/>
    <TfrxADOQuery Name="Organisation" UserName="Organisation" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="SELECT * FROM Organisation                                                                                                          " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667403D4000470546F7002340A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="5" TopMargin="7,5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxPageFooter Name="PageFooter1" Height="41,57483" Left="0" Top="302,3624" Width="737,00835">
      <TfrxMemoView Name="Memo1" Left="11,33859" Top="18,89765" Width="736,92544387" 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#]"/>
      <TfrxMemoView Name="Memo7" Left="389,99258" Top="3" Width="356,78289482" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="2" HAlign="haRight" ParentFont="False" Text="Printed By [SQL.&#34;PrintedBy&#34;] - [Date]  [Time]"/>
      <TfrxMemoView Name="Memo11" 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="222,21260819" Left="0" Top="18,89765" Width="737,00835">
      <TfrxShapeView Name="Shape1" Left="565,97093332" Top="144,64378476" Width="168,77396429" Height="44,61193572" ShowHint="False" Color="15000804" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo26" Left="0" Top="191,97637795" Width="735,65831857" Height="30,23623024" ShowHint="False" Color="12632256" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="5" Frame.Color="8421504" Frame.Width="0,1" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo6" Left="68,03149606" Top="198,976377952756" Width="45,35433071" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="NUM"/>
      <TfrxMemoView Name="Memo8" Left="18,14173228" Top="198,97637795" Width="48" 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="DATE"/>
      <TfrxMemoView Name="Memo10" Left="521,39370079" Top="198,97637795" Width="71,81102362" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="CREDIT"/>
      <TfrxMemoView Name="Memo12" Left="443,91338583" Top="198,97637795" Width="71,81102362" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="DEBIT"/>
      <TfrxMemoView Name="Memo15" Left="121,35845519" Top="87,81663571" Width="185,19684795" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;Code&#34;]"/>
      <TfrxPictureView Name="PicLogo" Left="3,58905381" Top="0,83240571" Width="208,51153615" Height="74,59802095" ShowHint="False" Center="True" DataField="logo" DataSet="Organisation" DataSetName="Organisation" Picture.PropData="[encoded data, 77492 characters]" HightQuality="True"/>
      <TfrxMemoView Name="Memo18" Left="121,35845519" Top="103,71422469" Width="185,19684795" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;Name&#34;]"/>
      <TfrxMemoView Name="Memo20" Left="121,35845519" Top="119,40713807" Width="185,19684795" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;CurrencyCode&#34;]"/>
      <TfrxMemoView Name="SQLWHName" Left="121,35845519" Top="136,30477587" Width="185,19684795" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;OpeningBalance&#34;]"/>
      <TfrxMemoView Name="Memo21" Left="4,19310086" Top="104,71422469" Width="113,38583898" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Name"/>
      <TfrxMemoView Name="Memo22" Left="4,19310086" Top="120,40713807" Width="113,38583898" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Currency"/>
      <TfrxMemoView Name="Memo23" Left="4,19310086" Top="137,30477587" Width="113,38583898" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Opening Balance"/>
      <TfrxMemoView Name="Memo36" Left="4,19310086" Top="88,81663571" Width="113,38583898" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Code"/>
      <TfrxMemoView Name="Memo19" Left="598,49606299" Top="198,97637795" Width="71,81102362" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="C.BALANCE"/>
      <TfrxMemoView Name="Memo25" Left="4,72108952" Top="54,83240571" Width="725,00179423" Height="32,44093024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Elephant" Font.Style="5" HAlign="haCenter" ParentFont="False" Text="ACCOUNT STATEMENT"/>
      <TfrxMemoView Name="Memo27" Left="635,86707131" Top="149,3996439" Width="94,48818898" 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="-13" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxMemoView Name="Memo28" Left="635,86707131" Top="166,3044058" Width="94,48818898" 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="-13" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[SQL.&#34;ToDate&#34;]"/>
      <TfrxMemoView Name="Memo29" Left="567,73321305" Top="168,44726294" Width="68,03149606" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="TO DATE"/>
      <TfrxMemoView Name="Memo30" Left="567,73321304" Top="151,3044058" Width="68,03149606" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="FROM DATE"/>
      <TfrxMemoView Name="Memo32" Left="119,03149606" Top="198,97637795" Width="79,74804858" 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="REFERENCE"/>
      <TfrxMemoView Name="Memo14" Left="675,22047244" Top="198,97637795" Width="59,33858268" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="OPERATOR"/>
      <TfrxMemoView Name="Memo41" Left="4,19310086" Top="169,77736571" Width="113,38583898" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Current Balance"/>
      <TfrxMemoView Name="Memo16" Left="121,35845519" Top="152,77736571" Width="185,19684795" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[Details.&#34;ClosingBalance&#34;]"/>
      <TfrxMemoView Name="Memo33" Left="4,19310086" Top="153,77736571" Width="113,38583898" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Closing Balance"/>
      <TfrxMemoView Name="Memo5" Left="121,35845519" Top="169,81663571" Width="185,19684795" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;CurrentBalance&#34;]"/>
      <TfrxMemoView Name="Memo4" Left="207,874015748031" Top="199,3624" Width="226,771653543307" 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="DESCRIPTION"/>
    </TfrxReportTitle>
    <TfrxSubreport Name="Subreport1" Left="0,55906" Top="0" Width="1067,25603143" Height="18,89765" ShowHint="False" Page="Page3"/>
  </TfrxReportPage>
  <TfrxReportPage Name="Page3" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="5" TopMargin="7,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="15,11811024" Left="0" ParentFont="False" Top="45,35436" Width="1065,82746" ColumnWidth="0" ColumnGap="0" DataSet="Details" DataSetName="Details" RowCount="0">
      <TfrxMemoView Name="credit" Left="518,24596926" Top="0" Width="71,81103094" Height="15,11811024" ShowHint="False" DataSet="Details" DataSetName="Details" 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="[Details.&#34;Credit&#34;]"/>
      <TfrxMemoView Name="debit" Left="440,99400075" Top="0" Width="71,81103094" Height="15,11811024" ShowHint="False" DataSet="Details" DataSetName="Details" 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="[Details.&#34;Debit&#34;]"/>
      <TfrxMemoView Name="Memo31" Left="119,05511811" Top="0" Width="79,7480315" Height="15,11811024" ShowHint="False" Color="16776960" DataSet="Details" DataSetName="Details" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Details.&#34;Reference&#34;]"/>
      <TfrxMemoView Name="Memo9" Left="672,25496813" Top="0" Width="59,4900613" 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" VAlign="vaCenter" Text="[Details.&#34;Operator&#34;]"/>
      <TfrxMemoView Name="TxtCurrent" Left="595,49793776" Top="0" Width="71,81103094" Height="15,11811024" ShowHint="False" DataSet="Details" DataSetName="Details" 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="[Details.&#34;EndBalance&#34;]"/>
      <TfrxMemoView Name="DetailsDescription" ShiftMode="smDontShift" Left="207,874015748031" Top="0" Width="226,771653543307" Height="15,11811024" ShowHint="False" DataSet="Details" DataSetName="Details" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Details.&#34;Note&#34;]"/>
      <TfrxCheckBoxView Name="CheckBox1" Left="1,42857143" Top="0" Width="15,23809524" Height="15,1181102362205" ShowHint="False" CheckColor="0" CheckStyle="csCheck"/>
      <TfrxMemoView Name="Memo2" Left="67,97862768" Top="0" Width="45,35433559" Height="15,11811024" ShowHint="False" DataSet="Details" DataSetName="Details" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[Details.&#34;ID&#34;]"/>
      <TfrxMemoView Name="Memo3" Left="18" Top="0" Width="48,15148107" Height="15,11811024" ShowHint="False" DataSet="Details" DataSetName="Details" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Details.&#34;Date&#34;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="3,77953" Left="0" ParentFont="False" Top="18,89765" Width="1065,82746" Condition="Details.&#34;AccountID&#34;"/>
    <TfrxGroupFooter Name="GroupFooter1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="52,91342" Left="0" ParentFont="False" Top="83,14966" Width="1065,82746">
      <TfrxMemoView Name="Memo35" Left="518,39370079" Top="0" Width="71,81102362" Height="16,62992126" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[SUM(&#60;Details.&#34;Credit&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="Memo37" Left="441,0803962" Top="0" Width="71,81102362" Height="16,62992126" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[SUM(&#60;Details.&#34;Debit&#34;&#62;,MasterData2)]"/>
    </TfrxGroupFooter>
  </TfrxReportPage>
</TfrxReport>
