Complete upto N Rows.frx 2.7 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Report ScriptLanguage="CSharp" ReportInfo.Description="This report demonstrates how to complete a data band upto a specified number of rows. If the data band has less rows than you specified, it will keep printing empty rows until their amount reaches the necessary number. To do this:&#13;&#10;- add the Child band to a Data Band;&#13;&#10;- set its &quot;CompleteToNRows&quot; property to 15." ReportInfo.Created="10/17/2008 18:02:27" ReportInfo.Modified="03/28/2023 17:26:50" ReportInfo.CreatorVersion="1.0.0.0">
  3. <Styles>
  4. <Style Name="Even" Fill.Color="MistyRose" Font="Arial, 10pt"/>
  5. </Styles>
  6. <Dictionary>
  7. <TableDataSource Name="Categories" ReferenceName="NorthWind.Categories" DataType="System.Int32" Enabled="true">
  8. <Column Name="CategoryID" DataType="System.Int32"/>
  9. <Column Name="CategoryName" DataType="System.String"/>
  10. <Column Name="Description" DataType="System.String"/>
  11. <Column Name="Picture" DataType="System.Byte[]" BindableControl="Picture"/>
  12. </TableDataSource>
  13. </Dictionary>
  14. <ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
  15. <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="37.8" CanGrow="true">
  16. <TextObject Name="Text1" Width="718.2" Height="37.8" Text="CATEGORIES" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 14pt, style=Bold"/>
  17. </ReportTitleBand>
  18. <DataBand Name="Data1" Top="39.8" Width="718.2" Height="28.35" DataSource="Categories">
  19. <TextObject Name="Text2" Left="66.15" Width="283.5" Height="28.35" Border.Lines="All" Text="[Categories.CategoryName]" VertAlign="Center" Font="Segoe UI, 9pt"/>
  20. <TextObject Name="Text3" Width="66.15" Height="28.35" Border.Lines="All" Fill.Color="SeaShell" EvenStyle="Even" Text="[Row#]" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt"/>
  21. <ChildBand Name="Child1" Top="70.15" Width="718.2" Height="28.35" CompleteToNRows="15">
  22. <TextObject Name="Text4" Width="66.15" Height="28.35" Border.Lines="All" Fill.Color="SeaShell" EvenStyle="Even" Text="[Row#]" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt"/>
  23. <TextObject Name="Text5" Left="66.15" Width="283.5" Height="28.35" Border.Lines="All" VertAlign="Center" Font="Segoe UI, 9pt"/>
  24. </ChildBand>
  25. </DataBand>
  26. <PageFooterBand Name="PageFooter1" Top="100.5" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
  27. <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"/>
  28. </PageFooterBand>
  29. </ReportPage>
  30. </Report>