<?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,6224959838" 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="05704C656674024C0470546F7002500A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" Orientation="poLandscape" PaperWidth="297" PaperHeight="210" 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="404,40971" Width="1065,82746">
      <TfrxMemoView Name="Memo1" Left="11,33859" Top="18,89765" Width="1050,62643387" 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="670,48388482" 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="Memo4" Left="0" 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>
    <TfrxReportTitle Name="ReportTitle1" Height="326,21260819" Left="0" Top="18,89765" Width="1065,82746">
      <TfrxShapeView Name="Shape1" Left="893,33333332" Top="245,86425476" Width="168,77396429" Height="44,61193572" ShowHint="False" Color="15000804" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo26" Left="0" Top="295,97637795" Width="1064,47742857" 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="302,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="302,976377952756" 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="850,393700787402" Top="302,976377952756" Width="71,8110236220472" 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="772,913385826772" Top="302,976377952756" Width="71,8110236220472" 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="Memo13" Left="309,92125984252" Top="302,97637795" Width="453,543307086614" 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"/>
      <TfrxMemoView Name="Memo15" Left="121,35845519" Top="191,81663571" Width="340,157480314961" 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="257,64542615" Height="108,61379095" 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="207,71422469" Width="340,157480314961" 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="223,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="240,30477587" Width="340,157480314961" 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="208,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="224,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="241,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="192,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="927,496062992126" Top="302,976377952756" Width="71,8110236220472" 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="130,83240571" Width="1057,60043423" Height="55,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="Elephant" Font.Style="5" HAlign="haCenter" ParentFont="False" Text="ACCOUNT STATEMENT"/>
      <TfrxMemoView Name="Memo27" Left="963,22947131" Top="250,6201139" 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="963,22947131" Top="267,5248758" 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="895,09561305" Top="269,66773294" 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="895,09561304" Top="252,5248758" 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="302,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="1004,22047244" Top="302,976377952756" Width="59,3385826771654" 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="273,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="256,77736571" Width="340,157480314961" 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="257,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="273,81663571" Width="340,157480314961" 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="Memo11" Left="204,094488188976" Top="302,97637795" Width="37,7952755905512" 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="INV"/>
      <TfrxMemoView Name="Memo24" Left="245,669291338583" Top="302,97637795" Width="56,6929133858268" 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="REF-2"/>
    </TfrxReportTitle>
    <TfrxSubreport Name="Subreport1" Left="0,55906" Top="0" Width="1067,25603143" Height="18,89765" ShowHint="False" Page="Page3"/>
  </TfrxReportPage>
  <TfrxReportPage Name="Page3" Orientation="poLandscape" PaperWidth="297" PaperHeight="210" 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="850,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="772,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,055118110236" Top="0" Width="79,748031496063" 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="1004,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="927,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="Memo17" Left="204,094488188976" Top="0" Width="37,7952755905512" Height="15,11811024" ShowHint="False" Color="15000804" DataSet="Details" DataSetName="Details" 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;ActivityID&#34;]"/>
      <TfrxMemoView Name="DetailsSupIncNum" Left="245,669291338583" Top="0" Width="56,6929133858268" Height="15,11811024" ShowHint="False" Color="16777180" 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;SupInvNum&#34;]"/>
      <TfrxMemoView Name="DetailsDescription" ShiftMode="smDontShift" Left="309,92125984" Top="0" Width="453,54330709" 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;Description&#34;] - [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="850,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="773,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>
