Repeat Headers.frx 5.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Report ScriptLanguage="CSharp" ReportInfo.Description="Demonstrates the &quot;Repeat Headers&quot; feature. To use it:&#13;&#10;- right-click the group header band and select &quot;Repeat on Every Page&quot;. This will repeat the header on all of the new pages where the group is printed.&#13;&#10;- add the &quot;Text&quot; object on a header;&#13;&#10;- set its &quot;PrintOn&quot; property to &quot;RepeatedBand&quot;. This will print the object on a subsequent pages only." ReportInfo.Created="01/18/2008 00:04:46" ReportInfo.Modified="03/28/2023 16:41:48" ReportInfo.CreatorVersion="1.0.0.0">
  3. <Styles>
  4. <Style Name="EvenRows" Fill.Color="Linen" Font="Arial, 10pt"/>
  5. </Styles>
  6. <Dictionary>
  7. <TableDataSource Name="Customers" ReferenceName="NorthWind.Customers" DataType="System.Int32" Enabled="true">
  8. <Column Name="CustomerID" DataType="System.String"/>
  9. <Column Name="CompanyName" DataType="System.String"/>
  10. <Column Name="ContactName" DataType="System.String"/>
  11. <Column Name="ContactTitle" DataType="System.String"/>
  12. <Column Name="Address" DataType="System.String"/>
  13. <Column Name="City" DataType="System.String"/>
  14. <Column Name="Region" DataType="System.String"/>
  15. <Column Name="PostalCode" DataType="System.String"/>
  16. <Column Name="Country" DataType="System.String"/>
  17. <Column Name="Phone" DataType="System.String"/>
  18. <Column Name="Fax" DataType="System.String"/>
  19. </TableDataSource>
  20. <TableDataSource Name="Orders" ReferenceName="NorthWind.Orders" DataType="System.Int32" Enabled="true">
  21. <Column Name="OrderID" DataType="System.Int32"/>
  22. <Column Name="CustomerID" DataType="System.String"/>
  23. <Column Name="EmployeeID" DataType="System.Int32"/>
  24. <Column Name="OrderDate" DataType="System.DateTime"/>
  25. <Column Name="RequiredDate" DataType="System.DateTime"/>
  26. <Column Name="ShippedDate" DataType="System.DateTime"/>
  27. <Column Name="ShipVia" DataType="System.Int32"/>
  28. <Column Name="Freight" DataType="System.Decimal"/>
  29. <Column Name="ShipName" DataType="System.String"/>
  30. <Column Name="ShipAddress" DataType="System.String"/>
  31. <Column Name="ShipCity" DataType="System.String"/>
  32. <Column Name="ShipRegion" DataType="System.String"/>
  33. <Column Name="ShipPostalCode" DataType="System.String"/>
  34. <Column Name="ShipCountry" DataType="System.String"/>
  35. <Column Name="Latitude" DataType="System.Double"/>
  36. <Column Name="Longitude" DataType="System.Double"/>
  37. </TableDataSource>
  38. <Relation Name="CustomersOrders" ReferenceName="NorthWind.CustomersOrders" ParentDataSource="Customers" ChildDataSource="Orders" ParentColumns="CustomerID" ChildColumns="CustomerID" Enabled="true"/>
  39. <Total Name="TotalOrders" TotalType="Count" Evaluator="Data2" PrintOn="GroupFooter1"/>
  40. </Dictionary>
  41. <ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
  42. <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="37.8" CanGrow="true">
  43. <TextObject Name="Text6" Width="718.2" Height="37.8" Text="CUSTOMERS ORDERS" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 14pt, style=Bold"/>
  44. </ReportTitleBand>
  45. <GroupHeaderBand Name="GroupHeader1" Top="39.8" Width="718.2" Height="28.35" Fill.Color="SandyBrown" KeepWithData="true" RepeatOnEveryPage="true" Condition="[Orders.CustomerID]">
  46. <TextObject Name="Text1" Width="349.65" Height="28.35" Text="[Orders.Customers.CompanyName]" VertAlign="Center" Font="Segoe UI, 12pt, style=Bold"/>
  47. <TextObject Name="Text11" Left="623.7" Width="94.5" Height="18.9" Fill.Color="SandyBrown" PrintOn="RepeatedBand" Text="continued..." HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt"/>
  48. <ChildBand Name="Child1" Top="70.15" Width="718.2" Height="18.9" Fill.Color="PeachPuff">
  49. <TextObject Name="Text8" Left="255.15" Width="94.5" Height="18.9" Text="ShippedDate" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt, style=Bold"/>
  50. <TextObject Name="Text5" Width="94.5" Height="18.9" Text="OrderID" VertAlign="Center" Font="Segoe UI, 9pt, style=Bold"/>
  51. <TextObject Name="Text3" Left="122.85" Width="94.5" Height="18.9" Text="OrderDate" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt, style=Bold"/>
  52. </ChildBand>
  53. <DataBand Name="Data2" Top="91.05" Width="718.2" Height="18.9" EvenStyle="EvenRows" DataSource="Orders">
  54. <TextObject Name="Text4" Width="94.5" Height="18.9" Text="[Orders.OrderID]" Font="Segoe UI, 9pt"/>
  55. <TextObject Name="Text2" Left="122.85" Width="94.5" Height="18.9" Text="[Orders.OrderDate]" Format="Date" Format.Format="d" HorzAlign="Right" Font="Segoe UI, 9pt"/>
  56. <TextObject Name="Text7" Left="255.15" Width="94.5" Height="18.9" Text="[Orders.ShippedDate]" Format="Date" Format.Format="d" HorzAlign="Right" Font="Segoe UI, 9pt"/>
  57. <Sort>
  58. <Sort Expression="[Orders.OrderID]"/>
  59. </Sort>
  60. </DataBand>
  61. <GroupFooterBand Name="GroupFooter1" Top="111.95" Width="718.2" Height="28.35">
  62. <TextObject Name="Text9" Width="349.65" Height="18.9" Text="Total orders: [TotalOrders]" HorzAlign="Right" Font="Segoe UI, 9pt, style=Bold"/>
  63. </GroupFooterBand>
  64. </GroupHeaderBand>
  65. <PageFooterBand Name="PageFooter1" Top="142.3" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
  66. <TextObject Name="Text10" Left="614.25" Width="94.5" Height="28.35" Text="[PageN]" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt"/>
  67. <TextObject Name="Text12" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport" VertAlign="Center" Font="Segoe UI, 9pt, style=Underline" TextFill.Color="Blue"/>
  68. </PageFooterBand>
  69. </ReportPage>
  70. </Report>