Interactive Report.frx 3.4 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Report ScriptLanguage="CSharp" ReportInfo.Description="Demonstrates how to create an interactive report that will display the detailed report when you click an item in the preview window. To create such a report:&#13;&#10;- define clickable items. Select the report object that you want to make clickable, go Properties window and setup its &quot;Hyperlink&quot; property:&#13;&#10;- set &quot;Expression&quot; property to [Categories.CategoryName];&#13;&#10;- set &quot;Kind&quot; property to &quot;DetailReport&quot;;&#13;&#10;- set &quot;DetailReportName&quot; property to the file name of the external report;&#13;&#10;- set &quot;ReportParameter&quot; property to the name of external report's parameter that will be set to hyperlink's value.&#13;&#10;- the external report should filter its data according to the parameter's value. You can do this in the data band editor: just set the filter expression.&#13;&#10;&#13;&#10;Learn how to build this report on the Fast Reports Academy channel http://fast.report/bbc6a" ReportInfo.Created="01/17/2008 03:55:42" ReportInfo.Modified="04/07/2023 02:22:16" ReportInfo.CreatorVersion="1.0.0.0">
  3. <Styles>
  4. <Style Name="EvenRows" 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="66.15" CanGrow="true">
  16. <TextObject Name="Text3" Width="718.2" Height="37.8" Text="CATEGORIES" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 14pt, style=Bold"/>
  17. <TextObject Name="Text1" Top="37.8" Width="236.25" Height="18.9" Text="Click the category to see its products." Font="Segoe UI, 9pt"/>
  18. </ReportTitleBand>
  19. <DataBand Name="Data1" Top="68.15" Width="340.2" Height="94.5" DataSource="Categories" Columns.Count="2" Columns.Width="340.2" KeepDetail="true">
  20. <TextObject Name="Text2" Left="141.75" Width="189" Height="28.35" Cursor="Hand" Hyperlink.Kind="DetailReport" Hyperlink.Expression="[Categories.CategoryName]" Hyperlink.DetailReportName="Interactive Report - Details.frx" Hyperlink.ReportParameter="CategoryName" Text="[Categories.CategoryName]" Font="Segoe UI, 9pt, style=Underline" TextFill.Color="Blue"/>
  21. <PictureObject Name="Picture1" Width="132.3" Height="85.05" Border.Lines="All" Border.Color="Gainsboro" Border.Width="2" Cursor="Hand" Hyperlink.Kind="DetailReport" Hyperlink.Expression="[Categories.CategoryName]" Hyperlink.DetailReportName="Interactive Report - Details.frx" Hyperlink.ReportParameter="CategoryName" DataColumn="Categories.Picture" SizeMode="StretchImage"/>
  22. </DataBand>
  23. <PageFooterBand Name="PageFooter1" Top="164.65" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
  24. <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"/>
  25. </PageFooterBand>
  26. </ReportPage>
  27. </Report>