📄 10.fr3
字号:
<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Name="" DotMatrixReport="False" EngineOptions.MaxMemSize="10000000" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="2047" PreviewOptions.DoubleBuffered="False" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" ReportOptions.CreateDate="37871,9972084722" ReportOptions.Description.Text="This example shows how to create nested reports using subreport component." ReportOptions.LastChange="38077,6101862616" ScriptLanguage="PascalScript" ScriptText.Text="var TotalSales: Extended; procedure Band4OnBeforePrint(Sender: TfrxComponent); begin TotalSales := 0 end; procedure Band7OnBeforePrint(Sender: TfrxComponent); begin TotalSales := TotalSales + <Items."Qty"> * <Items."Price">; end; begin end." PropData="044C65667403880003546F7003B0000844617461736574730E01074461746153657407165265706F7274446174612E437573746F6D65727344530B446174615365744E616D650609437573746F6D6572730001074461746153657407135265706F7274446174612E4F726465727344530B446174615365744E616D6506064F72646572730001074461746153657407125265706F7274446174612E4974656D7344530B446174615365744E616D6506054974656D730000095661726961626C65730E00055374796C650E00">
<TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" Columns="1" ColumnWidth="210" ColumnPositions.Text="0" PrintOnPreviousPage="True" HGuides.Text="" VGuides.Text="">
<TfrxPageFooter Name="Band1" Height="22,67718" Left="0" Top="264,5671" Width="755,906">
<TfrxMemoView Name="Memo1" Left="0" Top="0" Width="710,55164" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="4" Frame.Width="2" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4260095" Memo.Text="[Page#]" ParentFont="False"/>
</TfrxPageFooter>
<TfrxReportTitle Name="Band2" Height="26,45671" Left="0" Top="18,89765" Width="755,906">
<TfrxMemoView Name="Memo2" Left="0" Top="0" Width="710,55164" Height="18,89765" Color="8421376" Font.Charset="1" Font.Color="16777215" Font.Height="-16" Font.Name="Arial" Font.Style="1" HAlign="haCenter" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4259968" Memo.Text="Customers" ParentFont="False" VAlign="vaBottom"/>
</TfrxReportTitle>
<TfrxPageHeader Name="Band3" Height="15,11812" Left="0" Top="68,03154" Width="755,906">
<TfrxMemoView Name="Memo4" Left="0" Top="0" Width="710,55164" Height="15,11812" Color="16777215" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="4" Frame.Width="2" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4260095" Memo.Text="" ParentFont="False"/>
</TfrxPageHeader>
<TfrxMasterData Name="Band4" Height="60,47248" Left="0" Top="143,62214" Width="755,906" OnBeforePrint="Band4OnBeforePrint" Columns="1" ColumnWidth="200" ColumnGap="20" DataSet="ReportData.CustomersDS" DataSetName="Customers" RowCount="0">
<TfrxMemoView Name="Memo5" Left="0" Top="0" Width="302,3624" Height="18,89765" Color="8388608" Font.Charset="1" Font.Color="16777215" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="5" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4259968" Memo.Text="Company" ParentFont="False" VAlign="vaCenter"/>
<TfrxMemoView Name="Memo6" Left="0" Top="18,89765" Width="302,3624" Height="22,67718" Color="8388608" DataField="Company" DataSet="ReportData.CustomersDS" DataSetName="Customers" Font.Charset="1" Font.Color="16777215" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Typ="1" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4259968" Memo.Text="Waterspout SCUBA Center" ParentFont="False" VAlign="vaCenter"/>
<TfrxMemoView Name="Memo7" Left="302,3624" Top="0" Width="188,9765" Height="18,89765" Color="8388608" Font.Charset="1" Font.Color="16777215" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="4" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4259968" Memo.Text="Phone" ParentFont="False" VAlign="vaCenter"/>
<TfrxMemoView Name="Memo8" Left="491,3389" Top="0" Width="219,21274" Height="18,89765" Color="8388608" Font.Charset="1" Font.Color="16777215" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="6" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4259968" Memo.Text="Fax" ParentFont="False" VAlign="vaCenter"/>
<TfrxMemoView Name="Memo9" Left="302,3624" Top="18,89765" Width="188,9765" Height="22,67718" Color="8388608" DataField="Phone" DataSet="ReportData.CustomersDS" DataSetName="Customers" Font.Charset="1" Font.Color="16777215" Font.Height="-19" Font.Name="Arial" Font.Style="2" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4259968" Memo.Text="503-654-2434" ParentFont="False" VAlign="vaCenter"/>
<TfrxMemoView Name="Memo10" Left="491,3389" Top="18,89765" Width="219,21274" Height="22,67718" Color="8388608" DataField="FAX" DataSet="ReportData.CustomersDS" DataSetName="Customers" Font.Charset="1" Font.Color="16777215" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Typ="2" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4259968" Memo.Text="503-654-9986" ParentFont="False" VAlign="vaCenter"/>
<TfrxSubreport Name="Subreport1" Left="0" Top="41,57483" Width="94,48825" Height="18,89765" Page="Page4"/>
</TfrxMasterData>
</TfrxReportPage>
<TfrxReportPage Name="Page4" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
<TfrxMasterData Name="MasterData1" Height="37,7953" Left="0" Top="18,89765" Width="718,1107" Columns="1" ColumnWidth="200" ColumnGap="20" DataSet="ReportData.OrdersDS" DataSetName="Orders" RowCount="0">
<TfrxMemoView Name="Memo12" Left="0" Top="0" Width="120,94496" Height="18,89765" Color="12632256" Frame.Typ="1" Highlight.Font.Charset="1" Highlight.Font.Color="-1061158912" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4260032" Memo.Text="Order No [Orders."Order No"]"/>
<TfrxMemoView Name="Memo13" Left="120,94496" Top="0" Width="589,60668" Height="18,89765" Color="12632256" Frame.Typ="2" Highlight.Font.Charset="1" Highlight.Font.Color="-1061158912" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4260032" Memo.Text="Date [Orders."Sale Date"]"/>
<TfrxSubreport Name="Subreport2" Left="0" Top="18,89765" Width="94,48825" Height="18,89765" Page="Page2"/>
</TfrxMasterData>
<TfrxFooter Name="Footer1" Height="26,45671" Left="0" Top="79,37013" Width="718,1107">
<TfrxMemoView Name="Memo14" Left="0" Top="0" Width="710,55164" Height="18,89765" Color="12632256" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Frame.Typ="11" Highlight.Font.Charset="1" Highlight.Font.Color="-1061158912" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4260032" Memo.Text="Total sales this customer: [TotalSales]"/>
</TfrxFooter>
</TfrxReportPage>
<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="">
<TfrxHeader Name="Header1" Height="18,89765" Left="0" Top="18,89765" Width="718,1107">
<TfrxMemoView Name="Memo15" Left="0" Top="0" Width="45,35436" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="1" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4268031" Memo.Text="" ParentFont="False"/>
<TfrxMemoView Name="Memo16" Left="45,35436" Top="0" Width="60,47248" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4268031" Memo.Text="Part" ParentFont="False"/>
<TfrxMemoView Name="Memo17" Left="113,3859" Top="0" Width="230,55133" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4268031" Memo.Text="Description" ParentFont="False"/>
<TfrxMemoView Name="Memo18" Left="351,49629" Top="0" Width="79,37013" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4268031" Memo.Text="Price" ParentFont="False"/>
<TfrxMemoView Name="Memo19" Left="438,42548" Top="0" Width="60,47248" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4268031" Memo.Text="Qty" ParentFont="False"/>
<TfrxMemoView Name="Memo20" Left="506,45702" Top="0" Width="79,37013" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4268031" Memo.Text="Total" ParentFont="False"/>
<TfrxMemoView Name="Memo11" Left="585,82715" Top="0" Width="124,72449" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="2" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4268031" Memo.Text="" ParentFont="False"/>
</TfrxHeader>
<TfrxMasterData Name="MasterData2" Height="15,11812" Left="0" Top="60,47248" Width="718,1107" OnBeforePrint="Band7OnBeforePrint" Columns="1" ColumnWidth="200" ColumnGap="20" DataSet="ReportData.ItemsDS" DataSetName="Items" RowCount="0">
<TfrxMemoView Name="Memo21" Left="0" Top="0" Width="45,35436" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="1" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4268031" Memo.Text="" ParentFont="False"/>
<TfrxMemoView Name="Memo22" Left="45,35436" Top="0" Width="60,47248" Height="15,11812" DataField="Part No" DataSet="ReportData.ItemsDS" DataSetName="Items" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4268031" Memo.Text="5324" ParentFont="False"/>
<TfrxMemoView Name="Memo23" Left="113,3859" Top="0" Width="230,55133" Height="15,11812" DataField="Part Name" DataSet="ReportData.ItemsDS" DataSetName="Items" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4268031" Memo.Text="Chisel Point Knife" ParentFont="False"/>
<TfrxMemoView Name="Memo24" Left="351,49629" Top="0" Width="79,37013" Height="15,11812" DataField="Price" DataSet="ReportData.ItemsDS" DataSetName="Items" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="-65536" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="255" Highlight.Color="4268031" Memo.Text="41,00
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -