123456789101112131415161718192021222324252627 |
- <?xml version="1.0" encoding="utf-8"?>
- <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: - define clickable items. Select the report object that you want to make clickable, go Properties window and setup its "Hyperlink" property: - set "Expression" property to [Categories.CategoryName]; - set "Kind" property to "DetailReport"; - set "DetailReportName" property to the file name of the external report; - set "ReportParameter" property to the name of external report's parameter that will be set to hyperlink's value. - 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. 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">
- <Styles>
- <Style Name="EvenRows" Font="Arial, 10pt"/>
- </Styles>
- <Dictionary>
- <TableDataSource Name="Categories" ReferenceName="NorthWind.Categories" DataType="System.Int32" Enabled="true">
- <Column Name="CategoryID" DataType="System.Int32"/>
- <Column Name="CategoryName" DataType="System.String"/>
- <Column Name="Description" DataType="System.String"/>
- <Column Name="Picture" DataType="System.Byte[]" BindableControl="Picture"/>
- </TableDataSource>
- </Dictionary>
- <ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
- <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="66.15" CanGrow="true">
- <TextObject Name="Text3" Width="718.2" Height="37.8" Text="CATEGORIES" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 14pt, style=Bold"/>
- <TextObject Name="Text1" Top="37.8" Width="236.25" Height="18.9" Text="Click the category to see its products." Font="Segoe UI, 9pt"/>
- </ReportTitleBand>
- <DataBand Name="Data1" Top="68.15" Width="340.2" Height="94.5" DataSource="Categories" Columns.Count="2" Columns.Width="340.2" KeepDetail="true">
- <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"/>
- <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"/>
- </DataBand>
- <PageFooterBand Name="PageFooter1" Top="164.65" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
- <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"/>
- </PageFooterBand>
- </ReportPage>
- </Report>
|