1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?xml version="1.0" encoding="utf-8"?>
- <Report ScriptLanguage="CSharp" ReportInfo.Description="This report acts in the same way as the "Interactive Report.frx" report, but contains the detail report inside - it is placed on a separate page. To create such a report: - setup the "Hyperlink" property of the clickable object: - set the "Kind" property to "DetailPage"; - set the "DetailPageName" property to the name of the report page that contains the detail report; - set the detail page visibility to false. This is done automatically when you use the "DetailPageName" property editor. Learn how to build this report on the Fast Reports Academy channel http://fast.report/a8b52" ReportInfo.Created="01/17/2008 03:55:42" ReportInfo.Modified="04/07/2023 02:25:13" 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>
- <TableDataSource Name="Products" ReferenceName="NorthWind.Products" DataType="System.Int32" Enabled="true">
- <Column Name="ProductID" DataType="System.Int32"/>
- <Column Name="ProductName" DataType="System.String"/>
- <Column Name="SupplierID" DataType="System.Int32"/>
- <Column Name="CategoryID" DataType="System.Int32"/>
- <Column Name="QuantityPerUnit" DataType="System.String"/>
- <Column Name="UnitPrice" DataType="System.Decimal"/>
- <Column Name="UnitsInStock" DataType="System.Int16"/>
- <Column Name="UnitsOnOrder" DataType="System.Int16"/>
- <Column Name="ReorderLevel" DataType="System.Int16"/>
- <Column Name="Discontinued" DataType="System.Boolean" BindableControl="CheckBox"/>
- <Column Name="EAN13" DataType="System.String"/>
- </TableDataSource>
- <Relation Name="CategoriesProducts" ReferenceName="NorthWind.CategoriesProducts" ParentDataSource="Categories" ChildDataSource="Products" ParentColumns="CategoryID" ChildColumns="CategoryID" Enabled="true"/>
- <Parameter Name="CategoryName" DataType="System.String" AsString=""/>
- </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="DetailPage" Hyperlink.Expression="[Categories.CategoryName]" Hyperlink.DetailPageName="Page2" 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="DetailPage" Hyperlink.Expression="[Categories.CategoryName]" Hyperlink.DetailPageName="Page2" 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="Text13" 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>
- <ReportPage Name="Page2" Visible="false" Watermark.Font="Arial, 60pt">
- <ReportTitleBand Name="ReportTitle2" Width="718.2" Height="47.25">
- <TextObject Name="Text8" Width="718.2" Height="37.8" Dock="Top" Text="Product category: [CategoryName]" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 14pt, style=Bold"/>
- </ReportTitleBand>
- <PageHeaderBand Name="PageHeader1" Top="49.25" Width="718.2" Height="28.35">
- <TextObject Name="Text9" Width="226.8" Height="18.9" Text="Product Name" Font="Segoe UI, 9pt, style=Bold"/>
- <TextObject Name="Text4" Left="236.25" Width="94.5" Height="18.9" Text="Unit Price" HorzAlign="Right" Font="Segoe UI, 9pt, style=Bold"/>
- <TextObject Name="Text6" Left="340.2" Width="94.5" Height="18.9" Text="Units In Stock" HorzAlign="Center" Font="Segoe UI, 9pt, style=Bold"/>
- <TextObject Name="Text7" Left="453.6" Width="94.5" Height="18.9" Text="Discontinued" Font="Segoe UI, 9pt, style=Bold"/>
- </PageHeaderBand>
- <DataBand Name="Data2" Top="79.6" Width="718.2" Height="18.9" DataSource="Products" Filter="[Products.Categories.CategoryName] == [CategoryName]">
- <TextObject Name="Text10" Width="226.8" Height="18.9" Text="[Products.ProductName]" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TextObject Name="Text11" Left="236.25" Width="94.5" Height="18.9" Text="[Products.UnitPrice]" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TextObject Name="Text5" Left="340.2" Width="94.5" Height="18.9" Text="[Products.UnitsInStock]" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <CheckBoxObject Name="CheckBox1" Left="491.4" Width="18.9" Height="18.9" DataColumn="Products.Discontinued"/>
- </DataBand>
- </ReportPage>
- </Report>
|