<?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,620106412" 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="05704C65667402240470546F700224"/>
    <TfrxADOQuery Name="SQL" UserName="SQL" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="select      '2009-1-1' As FromDate,'2010-3-20' As ToDate,                           &#13;&#10;MainAccountCode,MainAccountName,AccountFamilyCode,AccountFamilyName,AccountCode,AccountName,&#13;&#10;-(sum(Debit)-Sum(Credit))As Balance&#13;&#10;from VwIncomeStatement&#13;&#10;where [Date] between '2009-1-1' and '2010-3-20'&#13;&#10;group by&#13;&#10;MainAccountCode,MainAccountName,AccountFamilyCode,AccountFamilyName,AccountCode,AccountName&#13;&#10;order by MainAccountCode desc,AccountFamilyCode,AccountCode&#13;&#10;                                     " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402530470546F7002210A506172616D65746572730100"/>
    <TfrxADOQuery Name="Organisation" UserName="Organisation" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="SELECT * FROM Organisation                                                                                                          " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C6566740398000470546F7002280A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="15" RightMargin="15" TopMargin="7,5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" Height="15,942785" Left="0" Top="298,58287" Width="680,3154" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="Memo2" Left="9,82677165" Top="0" Width="91,93100863" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;AccountCode&#34;]"/>
      <TfrxMemoView Name="Memo3" Left="110,74015748" Top="0" Width="368,94637926" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;AccountName&#34;]"/>
      <TfrxMemoView Name="Memo9" Left="510,236220472441" Top="0,824674759999993" Width="158,740157480315" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[SQL.&#34;balance&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" Height="41,57483" Left="0" Top="585,82715" Width="680,3154">
      <TfrxMemoView Name="Memo1" Left="192,75603" Top="18,8976499999999" Width="294,80330339" 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="491,3389" Top="3,77953000000002" Width="177,63787339" 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="[Date]  [Time]"/>
      <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>
    <TfrxGroupHeader Name="GroupHeader1" Height="26,45671" Left="0" Top="196,53556" Width="680,3154" Condition="SQL.&#34;MainAccountCode&#34;" StartNewPage="True">
      <TfrxMemoView Name="SQLMainAccountName" Left="3,77953" Top="3,77953000000005" Width="400,63018" Height="22,67718" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Courier New" Font.Style="5" ParentFont="False" Text="[SQL.&#34;MainAccountCode&#34;] [SQL.&#34;MainAccountName&#34;]"/>
    </TfrxGroupHeader>
    <TfrxReportTitle Name="ReportTitle1" Height="117,05658619" Left="0" Top="18,89765" Width="680,3154">
      <TfrxShapeView Name="Shape3" Left="458,61904762" Top="8,82714905" Width="213,54329" Height="101,0952381" ShowHint="False" Frame.Color="8421504"/>
      <TfrxShapeView Name="Shape5" Left="463,61904762" Top="49,82714905" Width="203,54329" Height="53,19047619" ShowHint="False" Frame.Color="8421504"/>
      <TfrxMemoView Name="Memo15" Left="526,16235471" Top="53,70902905" Width="132,28342795" 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" ParentFont="False" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxShapeView Name="Shape4" Left="463,61904762" Top="14,82714905" Width="203,54329" Height="30,89765" ShowHint="False" Color="15790320" Frame.Color="8421504"/>
      <TfrxPictureView Name="PicLogo" Left="1" Top="13,11812" Width="218,22458472" Height="81,95454524" ShowHint="False" Center="True" DataField="Logo" DataSet="Organisation" DataSetName="Organisation" Picture.PropData="[encoded data, 77492 characters]" HightQuality="True"/>
      <TfrxMemoView Name="Memo18" Left="526,16235471" Top="75,60661803" Width="132,28342795" 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" ParentFont="False" Text="[SQL.&#34;ToDate&#34;]"/>
      <TfrxMemoView Name="Memo21" Left="468,33558305" Top="75,60661803" Width="52,91335898" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="UNTIL"/>
      <TfrxMemoView Name="Memo36" Left="468,33558305" Top="53,70902905" Width="52,91335898" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="FROM"/>
      <TfrxMemoView Name="Memo16" Left="467,39857762" Top="21,21304905" Width="190,1342" Height="20,57483" ShowHint="False" Font.Charset="1" Font.Color="2105376" Font.Height="-16" Font.Name="Courier New" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="INCOME STATEMENT"/>
    </TfrxReportTitle>
    <TfrxGroupFooter Name="GroupFooter1" Height="37,7953" Left="0" Top="336,37817" Width="680,3154">
      <TfrxMemoView Name="Memo5" Left="510,23622047" Top="5,77953000000002" Width="158,74015748" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" Frame.Typ="4" Frame.Width="0,5" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;SQL.&#34;balance&#34;&#62;,MasterData1)]"/>
    </TfrxGroupFooter>
    <TfrxGroupFooter Name="GroupFooter2" Height="41,57483" Left="0" Top="396,85065" Width="680,3154">
      <TfrxMemoView Name="Memo4" Left="509,28383951" Top="6,51669761999994" Width="159,69253844" Height="27,49906262" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="1" Frame.DropShadow="True" Frame.ShadowColor="8421504" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;balance&#34;&#62;,MasterData1)]"/>
    </TfrxGroupFooter>
    <TfrxGroupHeader Name="GroupHeader2" Height="30,92331429" Left="0" Top="245,66945" Width="680,3154" Condition="SQL.&#34;AccountFamilyCode&#34;">
      <TfrxShapeView Name="Shape1" Left="3,77952756" Top="2,50185476000001" Width="669,72634524" Height="25,56431667" ShowHint="False" Color="15000804" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="SQLAccountFamilyCode" Left="9,80952381" Top="6,12090239000003" Width="96,50556619" Height="18,89765" ShowHint="False" DataField="AccountFamilyCode" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[SQL.&#34;AccountFamilyCode&#34;]"/>
      <TfrxMemoView Name="SQLAccountFamilyName" Left="110,76190477" Top="6,12090238000002" Width="516,49845524" Height="18,89765" ShowHint="False" DataField="AccountFamilyName" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[SQL.&#34;AccountFamilyName&#34;]"/>
    </TfrxGroupHeader>
    <TfrxReportSummary Name="ReportSummary1" Height="62,67718" Left="0" Top="498,89796" Width="680,3154">
      <TfrxMemoView Name="Memo8" Left="206,68923952" Top="22,80426619" Width="249,57630296" Height="27,49906262" ShowHint="False" Color="8421376" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="1" Frame.Typ="15" Frame.Width="2" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;balance&#34;&#62;,MasterData1)]"/>
    </TfrxReportSummary>
  </TfrxReportPage>
</TfrxReport>
