FastReport_2022_VCL/Demos/Main/135.fr3
2024-01-01 16:13:08 +01:00

58 lines
14 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.0" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.ConnectionName="FR Demo Base" ReportOptions.CreateDate="37874,9926516319" ReportOptions.Description.Text="This report shows how to use late object processing for Chart object and print group data in group header just in one pass of the data." ReportOptions.Name="Countries report" ReportOptions.LastChange="42970,0132504398" ReportOptions.VersionMinor="0" ReportOptions.VersionRelease="0" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;begin&#13;&#10;&#13;&#10;end." OnStartReport="frxReport1OnStartReport">
<Datasets>
<item DataSet="Country" DataSetName="Country"/>
<item DataSet="AreaPopulation" DataSetName="AreaPopulation"/>
<item DataSet="Area" DataSetName="Area"/>
<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" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" 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="CountryList" PaperWidth="215,9" PaperHeight="279,4" PaperSize="1" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" PrintOnPreviousPage="True" HGuides.Text="" VGuides.Text="">
<TfrxHeader Name="Header1" IndexTag="0" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="26,45671" Left="0" Top="176" Width="740,409927" ReprintOnNewPage="True">
<TfrxMemoView Name="Memo5" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="556,22078" Left="0" Top="224" Width="740,409927" Condition="Country.&#34;Continent&#34;" OutlineText="Country.&#34;Continent&#34;">
<TfrxMemoView Name="Memo11" IndexTag="0" 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;]"/>
<TfrxChartView Name="Chart4" IndexTag="0" Left="4" Top="24" Width="714,1107" Height="528,22078" HighlightColor="0" Frame.Typ="0" Processing.ProcessAt="paGroupFinished" PropData="0543686172740A5C0200005450463006544368617274054368617274044C656674020003546F7002000557696474680390010648656967687403FA000C416C6C6F7750616E6E696E670706706D4E6F6E65144261636B57616C6C2E42727573682E5374796C6507076273436C656172144261636B57616C6C2E50656E2E56697369626C6508114772616469656E742E456E64436F6C6F720707636C426C61636B105469746C652E466F6E742E436F6C6F720707636C426C61636B115469746C652E466F6E742E48656967687402F0105469746C652E466F6E742E5374796C650B066673426F6C6400125469746C652E546578742E537472696E6773010622506F70756C6174696F6E2064656E736974792028746F702031302076616C75657329000A436C6970506F696E7473080D4672616D652E56697369626C6508175669657733444F7074696F6E732E456C65766174696F6E034001195669657733444F7074696F6E732E50657273706563746976650200165669657733444F7074696F6E732E526F746174696F6E0368010A5A6F6F6D2E416C6C6F77080A426576656C4F75746572070662764E6F6E6505436F6C6F720707636C57686974650D44656661756C7443616E766173060E54474449506C757343616E76617311436F6C6F7250616C65747465496E646578020D000A5442617253657269657307536572696573310E436F6C6F7245616368506F696E74090C5856616C7565732E4E616D650601580D5856616C7565732E4F72646572070B6C6F417363656E64696E670C5956616C7565732E4E616D6506034261720D5956616C7565732E4F7264657207066C6F4E6F6E650000000E4368617274456C65766174696F6E0340010A5365726965734461746101010C0F01000020496E686572697465644E616D653D22546672785365726965734974656D33222044617461547970653D22647442616E644461746122204461746142616E643D224D617374657244617461312220536F72744F726465723D22736F44657363656E64696E672220546F704E3D223130222058547970653D227874546578742220536F75726365313D22436F756E7472792E262333343B4E616D65262333343B2220536F75726365323D22436F756E7472792E262333343B506F70756C6174696F6E262333343B222058536F757263653D22436F756E7472792E262333343B4E616D65262333343B222059536F757263653D22436F756E7472792E262333343B506F70756C6174696F6E262333343B220000"/>
</TfrxGroupHeader>
<TfrxMasterData Name="MasterData1" IndexTag="0" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15,11812" Left="0" Top="800" Width="740,409927" ColumnWidth="0" ColumnGap="0" DataSet="Country" DataSetName="Country" RowCount="0">
<TfrxMemoView Name="Memo9" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="56,69295" Left="0" Top="16" Width="740,409927">
<TfrxMemoView Name="Memo13" IndexTag="0" 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" IndexTag="0" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="18,89765" Left="0" Top="836" Width="740,409927">
<TfrxMemoView Name="Memo14" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="916" Width="740,409927">
<TfrxMemoView Name="Memo16" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" 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" IndexTag="0" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="92" Width="740,409927">
<TfrxMemoView Name="Memo10" IndexTag="0" 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" IndexTag="0" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="960" Width="740,409927">
<TfrxMemoView Name="Memo20" IndexTag="0" 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>