FastReport_FMX_2.8.12/Demos/Main/35.fr3
2024-07-06 22:41:12 +02:00

66 lines
14 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="4.11.4" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="37871,9959574884" ReportOptions.Description.Text="This report demonstrates how to use URLs and anchors.&#13;&#10;&#13;&#10;To assign an URL to an object, just fill in its URL property. If first symbol of this property is '#', this is an anchor (it should be added in the script by Engine.AddAnchor method). First '@' symbol means a page number. Otherwise it is treated as an URL (for example, http://www.someurl.com)." ReportOptions.LastChange="41019,991546088" ScriptLanguage="PascalScript" ScriptText.Text="procedure Band4OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10; Engine.AddAnchor(&#60;Customers.&#34;Company&#34;&#62;);&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end." PropData="044C656674025803546F7003700108446174617365747301010C3900000020446174615365743D225265706F7274446174612E437573746F6D65727344532220446174615365744E616D653D22437573746F6D6572732200010C3100000020446174615365743D225265706F7274446174612E4974656D7344532220446174615365744E616D653D224974656D732200010C3300000020446174615365743D225265706F7274446174612E4F726465727344532220446174615365744E616D653D224F72646572732200010C3000000020446174615365743D225265706F7274446174612E5061727444532220446174615365744E616D653D225061727473220000095661726961626C65730100055374796C650100">
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
<TfrxReportPage Name="Page2" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
<TfrxGroupHeader Name="GroupHeader1" Height="22,67718" Left="0" Top="151,1812" Width="718,1107" Condition="Customers.&#34;Cust No&#34;">
<TfrxMemoView Name="Memo29" Left="0" Top="0" Width="238,11039" Height="18,89765" ShowHint="False" URL="#[Customers.&#34;Company&#34;]" DataSet="ReportData.QueryDS" DataSetName="Sales" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial" Font.Style="5" ParentFont="False" Wysiwyg="False" Text="[Customers.&#34;Company&#34;]"/>
<TfrxMemoView Name="Memo31" Left="355,27582" Top="0" Width="343,93723" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Wysiwyg="False" Text="[Engine.GetAnchorPage(&#60;Customers.&#34;Company&#34;&#62;)]"/>
</TfrxGroupHeader>
<TfrxMasterData Name="MasterData1" Height="0" Left="0" Top="192,75603" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="ReportData.CustomersDS" DataSetName="Customers" RowCount="0"/>
<TfrxReportTitle Name="ReportTitle1" Height="71,81107" Left="0" Top="18,89765" Width="718,1107">
<TfrxMemoView Name="Memo30" Left="0" Top="37,7953" Width="699,21305" Height="26,45671" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Wysiwyg="False" Text="Table of contents"/>
<TfrxMemoView Name="Memo32" Left="385,51206" Top="0" Width="313,70099" Height="18,89765" ShowHint="False" HAlign="haRight" Wysiwyg="False" Text="This report is created in the FastReport"/>
<TfrxMemoView Name="Memo33" Left="385,51206" Top="18,89765" Width="313,70099" Height="18,89765" ShowHint="False" URL="http://www.fast-report.com" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial" Font.Style="4" HAlign="haRight" ParentFont="False" Wysiwyg="False" Text="http://www.fast-report.com"/>
</TfrxReportTitle>
</TfrxReportPage>
<TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" Columns="1" ColumnWidth="210" ColumnPositions.Text="0" HGuides.Text="" VGuides.Text="">
<TfrxPageFooter Name="Band1" Height="22,67718" Left="0" Top="480,00031" Width="755,906">
<TfrxMemoView Name="Memo5" Left="109,60637" Top="3,77953000000002" Width="604,7248" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="4" Frame.Width="2" HAlign="haRight" ParentFont="False" Text="[Page#]"/>
<TfrxMemoView Name="Memo34" Left="0" Top="3,77953000000002" Width="109,60637" Height="15,11812" ShowHint="False" URL="@1" Font.Charset="1" Font.Color="16711680" Font.Height="-11" Font.Name="Arial" Font.Style="4" Frame.Typ="4" Frame.Width="2" ParentFont="False" Wysiwyg="False" Text="&#60;&#60; back to first page"/>
</TfrxPageFooter>
<TfrxReportTitle Name="Band2" Height="26,45671" Left="0" Top="18,89765" Width="755,906">
<TfrxMemoView Name="Memo6" Left="0" Top="3,77953" Width="714,33117" Height="18,89765" ShowHint="False" Color="8421504" Font.Charset="1" Font.Color="16777215" Font.Height="-16" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Wysiwyg="False" Text="Customers"/>
</TfrxReportTitle>
<TfrxGroupHeader Name="Band4" Height="45,35436" Left="0" Top="105,82684" Width="755,906" OnBeforePrint="Band4OnBeforePrint" Condition="Customers.&#34;Cust No&#34;">
<TfrxGradientView Name="Gradient1" Left="3,77953" Top="0" Width="710,55164" Height="45,35436" ShowHint="False" EndColor="128" Style="gsVertical" Color="8421568"/>
<TfrxMemoView Name="Memo17" Left="3,77953" Top="0" Width="287,24428" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" Frame.Typ="5" GapX="6" ParentFont="False" Wysiwyg="False" Text="Company"/>
<TfrxMemoView Name="Memo19" Left="291,02381" Top="0" Width="177,63791" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" Frame.Typ="4" ParentFont="False" Wysiwyg="False" Text="Phone"/>
<TfrxMemoView Name="Memo20" Left="468,66172" Top="0" Width="245,66945" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" Frame.Typ="6" ParentFont="False" Wysiwyg="False" Text="Fax"/>
<TfrxMemoView Name="Memo21" Left="291,02381" Top="18,89765" Width="177,63791" Height="26,45671" ShowHint="False" Font.Charset="1" Font.Color="16777215" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Color="12632256" ParentFont="False" Wysiwyg="False" Text="[Customers.&#34;Phone&#34;]"/>
<TfrxMemoView Name="Memo22" Left="468,66172" Top="18,89765" Width="245,66945" Height="26,45671" ShowHint="False" Font.Charset="1" Font.Color="16777215" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Color="12632256" Frame.Typ="2" ParentFont="False" Wysiwyg="False" Text="[Customers.&#34;FAX&#34;]"/>
<TfrxMemoView Name="Memo18" Left="3,77953" Top="18,89765" Width="287,24428" Height="26,45671" ShowHint="False" Font.Charset="1" Font.Color="16777215" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Color="12632256" Frame.Typ="1" GapX="6" ParentFont="False" Wysiwyg="False" Text="[Customers.&#34;Company&#34;]"/>
</TfrxGroupHeader>
<TfrxGroupHeader Name="Band5" Height="37,7953" Left="0" Top="170,07885" Width="755,906" Condition="Orders.&#34;Order No&#34;">
<TfrxMemoView Name="Memo3" Left="3,77953" Top="18,89765" Width="52,91342" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="1" ParentFont="False" Wysiwyg="False" Text=""/>
<TfrxMemoView Name="Memo8" Left="3,77953" Top="0" Width="124,72449" Height="18,89765" ShowHint="False" Color="12632256" Frame.Color="12632256" Frame.Typ="1" GapX="4" Wysiwyg="False" Text="Order No [Orders.&#34;Order No&#34;]"/>
<TfrxMemoView Name="Memo9" Left="128,50402" Top="0" Width="585,82715" Height="18,89765" ShowHint="False" Color="12632256" Frame.Color="12632256" Frame.Typ="2" Wysiwyg="False" Text="Date [Orders.&#34;Sale Date&#34;]"/>
<TfrxMemoView Name="Memo10" Left="56,69295" Top="18,89765" Width="71,81107" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" HAlign="haCenter" ParentFont="False" Wysiwyg="False" Text="Part"/>
<TfrxMemoView Name="Memo11" Left="128,50402" Top="18,89765" Width="279,68522" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" HAlign="haCenter" ParentFont="False" Wysiwyg="False" Text="Description"/>
<TfrxMemoView Name="Memo12" Left="408,18924" Top="18,8976500000001" Width="83,14966" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" HAlign="haCenter" ParentFont="False" Wysiwyg="False" Text="Price"/>
<TfrxMemoView Name="Memo13" Left="491,3389" Top="18,8976500000001" Width="60,47248" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" HAlign="haCenter" ParentFont="False" Wysiwyg="False" Text="Qty"/>
<TfrxMemoView Name="Memo14" Left="551,81138" Top="18,8976500000001" Width="90,70872" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" HAlign="haCenter" ParentFont="False" Wysiwyg="False" Text="Total"/>
<TfrxMemoView Name="Memo1" Left="642,5201" Top="18,8976500000001" Width="71,81107" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="2" ParentFont="False" Wysiwyg="False" Text=""/>
</TfrxGroupHeader>
<TfrxMasterData Name="Band6" Height="0" Left="0" Top="226,7718" Width="755,906" Columns="1" ColumnWidth="200" ColumnGap="20" DataSet="ReportData.CustomersDS" DataSetName="Customers" RowCount="0"/>
<TfrxGroupFooter Name="Band7" Height="30,23624" Left="0" Top="385,51206" Width="755,906">
<TfrxMemoView Name="Memo28" Left="3,77953" Top="0" Width="710,55164" Height="18,89765" ShowHint="False" Color="12632256" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Frame.Color="12632256" Frame.Typ="11" Wysiwyg="False" Text="Total sales this customer: [Sum(&#60;Items.&#34;Qty&#34;&#62;*&#60;Parts.&#34;List Price&#34;&#62;)]"/>
</TfrxGroupFooter>
<TfrxGroupFooter Name="Band8" Height="22,67718" Left="0" Top="340,1577" Width="755,906">
<TfrxMemoView Name="Memo2" Left="3,77953" Top="0" Width="52,91342" Height="22,67718" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="1" ParentFont="False" Wysiwyg="False" Text=""/>
<TfrxMemoView Name="Memo15" Left="56,69295" Top="0" Width="585,82715" Height="22,67718" ShowHint="False" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="128" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" Frame.Typ="4" HAlign="haRight" ParentFont="False" Wysiwyg="False" Text="Total this order: [Sum(&#60;Items.&#34;Qty&#34;&#62;*&#60;Parts.&#34;List Price&#34;&#62;)]"/>
<TfrxMemoView Name="Memo4" Left="642,5201" Top="0" Width="71,81107" Height="22,67718" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="2" ParentFont="False" Wysiwyg="False" Text=""/>
</TfrxGroupFooter>
<TfrxDetailData Name="DetailData1" Height="0" Left="0" Top="249,44898" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="ReportData.OrdersDS" DataSetName="Orders" RowCount="0"/>
<TfrxSubdetailData Name="SubdetailData1" Height="0" Left="0" Top="272,12616" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="ReportData.ItemsDS" DataSetName="Items" RowCount="0"/>
<TfrxDataBand4 Name="DataBand41" Height="18,89765" Left="0" Top="294,80334" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="ReportData.PartDS" DataSetName="Parts" RowCount="0">
<TfrxMemoView Name="Memo7" Left="3,77952755905512" Top="0" Width="52,91342" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="1" ParentFont="False" Wysiwyg="False" Text=""/>
<TfrxMemoView Name="Memo23" Left="56,91342" Top="0" Width="71,81107" Height="18,89765" ShowHint="False" DataSet="ReportData.QueryDS" DataSetName="Sales" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" HAlign="haCenter" ParentFont="False" Wysiwyg="False" Text="[Parts.&#34;Part No&#34;]"/>
<TfrxMemoView Name="Memo24" Left="128,72449" Top="0" Width="279,68522" Height="18,89765" ShowHint="False" DataSet="ReportData.QueryDS" DataSetName="Sales" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" ParentFont="False" Wysiwyg="False" Text="[Parts.&#34;Description&#34;]"/>
<TfrxMemoView Name="Memo25" Left="408,40971" Top="0" Width="83,14966" Height="18,89765" ShowHint="False" DataSet="ReportData.QueryDS" DataSetName="Sales" DisplayFormat.FormatStr="%2.2m" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" HAlign="haRight" ParentFont="False" Wysiwyg="False" Text="[Parts.&#34;List Price&#34;]"/>
<TfrxMemoView Name="Memo26" Left="491,55937" Top="0" Width="60,47248" Height="18,89765" ShowHint="False" DataSet="ReportData.QueryDS" DataSetName="Sales" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" HAlign="haCenter" ParentFont="False" Wysiwyg="False" Text="[Items.&#34;Qty&#34;]"/>
<TfrxMemoView Name="Memo27" Left="552,03185" Top="0" Width="90,70872" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Color="12632256" HAlign="haRight" ParentFont="False" Wysiwyg="False" Text="[&#60;Items.&#34;Qty&#34;&#62;*&#60;Parts.&#34;List Price&#34;&#62;]"/>
<TfrxMemoView Name="Memo16" Left="642,74057" Top="0" Width="71,81107" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="2" ParentFont="False" Wysiwyg="False" Text=""/>
</TfrxDataBand4>
</TfrxReportPage>
</TfrxReport>