<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.5.0" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="495615" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.Author="Fediachov A." ReportOptions.ConnectionName="FR Demo Base" ReportOptions.CreateDate="37874,9926516319" ReportOptions.Description.Text="Demonstrates interactive switch in chart object." ReportOptions.Name="Countries report" ReportOptions.LastChange="43913,6669622917" ReportOptions.VersionMinor="0" ReportOptions.VersionRelease="0" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;begin&#13;&#10;&#13;&#10;end." OnStartReport="frxReport1OnStartReport">
  <Datasets>
    <item DataSet="Area" DataSetName="Area"/>
    <item DataSet="AreaPopulation" DataSetName="AreaPopulation"/>
    <item DataSet="Country" DataSetName="Country"/>
    <item DataSet="Population" DataSetName="Population"/>
  </Datasets>
  <Variables>
    <item Name=" Database"/>
    <item Name="PathToDatabase" Value="'..\demo.mdb'"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxADOQuery Name="Country" UserName="Country" CloseDataSource="True" FieldAliases.Text="Name=Name&#13;&#10;Capital=Capital&#13;&#10;Continent=Continent&#13;&#10;Area=Area&#13;&#10;Population=Population" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT c.Name, c.Capital, c.Area, c.Population, c.Continent&#13;&#10;FROM&#13;&#10;    country c&#13;&#10;ORDER BY c.Continent, c.Name" SQLSchema="eAFtzj0LwjAQgOE90H9yw+VDsMMNWsGliKJbcThjhtCalDYd/Pcmg0Oh3Pi83F134sRHnt2zEvdbS8oYg0bX+7oS3YNfg5uzWLJxCWn6glagDShEkDvMyXny7xwgXfjj4F9ZkHkQECohqeHRJx5WWqyoosPkeJM0XeO4DJx8DJuBoSaG5IMLaeUy3y27u9aHvrz/A/nrQSc=" CommandTimeout="30" LockType="ltReadOnly" PropData="05704C656674023C0470546F7002140A506172616D65746572730100"/>
    <TfrxADOQuery Name="AreaPopulation" UserName="AreaPopulation" CloseDataSource="True" FieldAliases.Text="Name=Name&#13;&#10;off=off" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT TOP 20 Name, Population/Area as off&#13;&#10;FROM&#13;&#10;    country&#13;&#10;    order by Population/Area desc" SQLSchema="eAFtjz0PwiAURXcS/skbgH65vEFr4tIYjW7E4UkZiBUaSgf/vdTEjdzxnJvcq4+U6ECLfXB2uw7YtdVOiroVnOk7PSe7ZGDQhNWn+AGloJOghADZbMopujELAvswWvhbBiSIXziTeKZ3GSnsaXaJpmKxwn20VEQ1XsK8TpRc8EWhyXt8ct76VOR6cP61PfsCzIZIWQ==" CommandTimeout="30" LockType="ltReadOnly" PropData="05704C656674027C0470546F7002140A506172616D65746572730100"/>
    <TfrxADOQuery Name="Area" UserName="Area" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="select top 10 * from country order by area desc" CommandTimeout="30" LockType="ltReadOnly" PropData="05704C65667403BC000470546F7002140A506172616D65746572730100"/>
    <TfrxADOQuery Name="Population" UserName="Population" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="select TOP 10 * from country order by population desc" CommandTimeout="30" LockType="ltReadOnly" PropData="05704C65667403FC000470546F7002140A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="ChartN1" PaperWidth="215,9" PaperHeight="279,4" PaperSize="1" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="8&#13;&#10;728">
    <TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="34,23624" Left="0" Top="16" Width="740,409927" Child="Child2">
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" Left="8" Top="4" Width="720" Height="30,23624" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="15000804" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Countries"/>
    </TfrxReportTitle>
    <TfrxChild Name="Child2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="451,77984" Left="0" Top="72" Width="740,409927" ToNRows="0" ToNRowsMode="rmCount">
      <TfrxChartView Name="Chart1" AllowVectorExport="True" ShiftMode="smWhenOverlapped" Left="0" Top="0,477308460000003" Width="728" Height="449,76407" HighlightColor="0" Frame.Typ="0" PropData="[encoded data, 5974 characters]"/>
    </TfrxChild>
  </TfrxReportPage>
  <TfrxReportPage Name="CountryList" PaperWidth="215,9" PaperHeight="279,4" PaperSize="1" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" PrintOnPreviousPage="True" HGuides.Text="" VGuides.Text="">
    <TfrxHeader Name="Header1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="26,45671" Left="0" Top="176" Width="740,409927" ReprintOnNewPage="True">
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="0" Top="3,77952999999999" Width="226,7718" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="12632256" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Name"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="234,33086" Top="3,77952999999999" Width="177,63791" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="12632256" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Capital"/>
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" Left="419,52783" Top="3,77952999999999" Width="117,16543" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="12632256" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Area"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="544,25232" Top="3,77952999999999" Width="173,85838" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="12632256" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Population"/>
    </TfrxHeader>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="224" Width="740,409927" Condition="Country.&#34;Continent&#34;" OutlineText="Country.&#34;Continent&#34;">
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" Left="0" Top="0" Width="718,11030945" Height="18,89765" DataField="Continent" DataSet="Country" DataSetName="Country" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="12632256" HAlign="haCenter" ParentFont="False" Text="[Country.&#34;Continent&#34;]"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,11812" Left="0" Top="268" Width="740,409927" ColumnWidth="0" ColumnGap="0" DataSet="Country" DataSetName="Country" RowCount="0">
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="0" Top="0" Width="718,1107" Height="15,11812" DataSet="ReportData.CustomersDS" DataSetName="Customers" Frame.Typ="0" Highlight.Font.Charset="1" Highlight.Font.Color="-370606080" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;Line#&#62; mod 2" Highlight.FillType="ftBrush" Highlight.Fill.BackColor="15790320" Highlight.Frame.Typ="0" WordWrap="False" Text=""/>
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="3,77953" Top="0" Width="222,99227" Height="15,11812" DataField="Name" DataSet="Country" DataSetName="Country" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Country.&#34;Name&#34;]"/>
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="234,33086" Top="0" Width="177,63791" Height="15,11812" DataField="Capital" DataSet="Country" DataSetName="Country" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Country.&#34;Capital&#34;]"/>
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="419,52783" Top="0" Width="117,16543" Height="15,11812" DataSet="Country" DataSetName="Country" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Country.&#34;Area&#34;]"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="544,25232" Top="0" Width="170,07885" Height="15,11812" DataField="Population" DataSet="Country" DataSetName="Country" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Country.&#34;Population&#34;]"/>
    </TfrxMasterData>
    <TfrxReportTitle Name="ReportTitle2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="56,69295" Left="0" Top="16" Width="740,409927">
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="0" Top="15,11812" Width="718,1107" Height="22,67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Countries summary"/>
    </TfrxReportTitle>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18,89765" Left="0" Top="304" Width="740,409927">
      <TfrxMemoView Name="Memo14" AllowVectorExport="True" Left="0" Top="0" Width="536,69326" Height="18,89765" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.0n" 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" Text="[SUM(&#60;Country.&#34;Area&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="True" Left="536,69326" Top="0" Width="181,41744" Height="18,89765" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.0n" 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" Text="[SUM(&#60;Country.&#34;Population&#34;&#62;,MasterData1)]"/>
    </TfrxGroupFooter>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="384" Width="740,409927">
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="219,21274" Top="0" Width="317,48052" Height="18,89765" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="12632256" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;Country.&#34;Area&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="536,69326" Top="0" Width="181,41744" Height="18,89765" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="12632256" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;Country.&#34;Population&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="90,70872" Top="0" Width="128,50402" Height="18,89765" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="12632256" ParentFont="False" VAlign="vaCenter" Text="[COUNT(MasterData1)]"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="0" Top="0" Width="90,70872" Height="18,89765" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="12632256" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="TOTAL:"/>
    </TfrxReportSummary>
    <TfrxPageHeader Name="PageHeader3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="92" Width="740,409927">
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="0" Top="3,77952999999999" Width="718,1107" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="8" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Countries summary"/>
    </TfrxPageHeader>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="428" Width="740,409927">
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="0" Top="3,77953000000002" Width="721,89023" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="Page [Page#] of [TotalPages#]"/>
    </TfrxPageFooter>
  </TfrxReportPage>
</TfrxReport>
