|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 |
| -<Report ScriptLanguage="CSharp" ReportInfo.Description="Demonstrates how to implement the cascaded filter. When you select an employee, the orders list will be refreshed. To do this: - put two comboboxes on a form, EmployeesComboBox and OrdersComboBox; - connect EmployeesComboBox to Employees.FirstName data column via its DataColumn property; - connect OrdersComboBox to Orders.OrderID data column; - select EmployeesComboBox and set its DetailControl property to OrdersComboBox. That's all, you don't need to write any code!" ReportInfo.Created="03/19/2009 00:41:35" ReportInfo.Modified="01/22/2019 12:17:11" ReportInfo.CreatorVersion="2019.1.9.0"> |
| 2 | +<Report ScriptLanguage="CSharp" ReportInfo.Description="Demonstrates how to implement the cascaded filter. When you select an employee, the orders list will be refreshed. To do this: - put two comboboxes on a form, EmployeesComboBox and OrdersComboBox; - connect EmployeesComboBox to Employees.FirstName data column via its DataColumn property; - connect OrdersComboBox to Orders.OrderID data column; - select EmployeesComboBox and set its DetailControl property to OrdersComboBox. That's all, you don't need to write any code!" ReportInfo.Created="03/19/2009 00:41:35" ReportInfo.Modified="02/25/2020 15:16:35" ReportInfo.CreatorVersion="2020.1.22.0"> |
3 | 3 | <Dictionary>
|
4 | 4 | <TableDataSource Name="Employees" ReferenceName="NorthWind.Employees" DataType="System.Int32" Enabled="true">
|
5 | 5 | <Column Name="EmployeeID" DataType="System.Int32"/>
|
|
63 | 63 | <Relation Name="ProductsOrderDetails" ReferenceName="NorthWind.ProductsOrderDetails" ParentDataSource="Products" ChildDataSource="Order Details" ParentColumns="ProductID" ChildColumns="ProductID" Enabled="true"/>
|
64 | 64 | <Total Name="OrderTotal" Expression="[Order Details.UnitPrice] * [Order Details.Quantity]" Evaluator="Data3" PrintOn="ReportSummary1"/>
|
65 | 65 | </Dictionary>
|
66 |
| - <ReportPage Name="Page1"> |
67 |
| - <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="28.35" CanGrow="true"> |
68 |
| - <TextObject Name="Text12" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" CanShrink="true" Text="[Report.ReportInfo.Description] " Padding="4, 4, 4, 4" Font="Tahoma, 8pt"/> |
| 66 | + <ReportPage Name="Page1" Watermark.Font="Arial, 60pt"> |
| 67 | + <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="56.7" CanGrow="true"> |
| 68 | + <TextObject Name="Text12" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" Cursor="Hand" Hyperlink.Value="http://fast.report/afd51" CanGrow="true" CanShrink="true" Text="Learn about various report objects on the Fast Reports Academy channel" Padding="4, 4, 4, 4" Font="Tahoma, 10pt, style=Bold, Underline" TextFill.Color="Blue"/> |
| 69 | + <TextObject Name="Text14" Top="28.35" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" CanShrink="true" Text="[Report.ReportInfo.Description] " Padding="4, 4, 4, 4" Font="Tahoma, 8pt"/> |
69 | 70 | </ReportTitleBand>
|
70 |
| - <DataBand Name="Data1" Top="32.35" Width="718.2" Height="47.25" Fill.Color="Coral" DataSource="Employees"> |
| 71 | + <DataBand Name="Data1" Top="60.7" Width="718.2" Height="47.25" Fill.Color="Coral" DataSource="Employees"> |
71 | 72 | <TextObject Name="Text1" Left="9.45" Width="538.65" Height="47.25" Text="[Employees.FirstName] [Employees.LastName]" VertAlign="Center" Font="Tahoma, 16pt, style=Bold" TextFill.Color="White"/>
|
72 |
| - <DataBand Name="Data2" Top="83.6" Width="718.2" Height="37.8" Fill.Color="LightSalmon" DataSource="Orders"> |
| 73 | + <DataBand Name="Data2" Top="111.95" Width="718.2" Height="37.8" Fill.Color="LightSalmon" DataSource="Orders"> |
73 | 74 | <TextObject Name="Text2" Left="9.45" Top="9.45" Width="132.3" Height="18.9" Text="Order ID: [Orders.OrderID]" Font="Tahoma, 10pt"/>
|
74 | 75 | <TextObject Name="Text3" Left="160.65" Top="9.45" Width="198.45" Height="18.9" Text="Date: [Orders.OrderDate]" Format="Date" Format.Format="d" Font="Tahoma, 10pt"/>
|
75 |
| - <DataBand Name="Data3" Top="125.4" Width="718.2" Height="37.8" Fill.Color="MistyRose" DataSource="Order Details"> |
| 76 | + <DataBand Name="Data3" Top="153.75" Width="718.2" Height="37.8" Fill.Color="MistyRose" DataSource="Order Details"> |
76 | 77 | <TextObject Name="Text4" Left="28.35" Top="9.45" Width="207.9" Height="18.9" Text="[Order Details.Products.ProductName]" Font="Tahoma, 8pt"/>
|
77 |
| - <TextObject Name="Text5" Left="245.7" Top="9.45" Width="94.5" Height="18.9" Text="[Order Details.UnitPrice]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" Font="Tahoma, 8pt"/> |
| 78 | + <TextObject Name="Text5" Left="245.7" Top="9.45" Width="94.5" Height="18.9" Text="[Order Details.UnitPrice]" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" Font="Tahoma, 8pt"/> |
78 | 79 | <TextObject Name="Text6" Left="359.1" Top="9.45" Width="37.8" Height="18.9" Text="[Order Details.Quantity]" Font="Tahoma, 8pt"/>
|
79 | 80 | <TextObject Name="Text7" Left="340.2" Top="9.45" Width="18.9" Height="18.9" Text="x" HorzAlign="Center" Font="Tahoma, 8pt"/>
|
80 |
| - <TextObject Name="Text8" Left="415.8" Top="9.45" Width="75.6" Height="18.9" Text="[[Order Details.UnitPrice] * [Order Details.Quantity]]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" Font="Tahoma, 8pt"/> |
81 |
| - <TextObject Name="Text9" Left="396.9" Top="9.45" Width="18.9" Height="18.9" Text="=" Format="Currency" Format.UseLocale="true" Font="Tahoma, 8pt"/> |
| 81 | + <TextObject Name="Text8" Left="415.8" Top="9.45" Width="75.6" Height="18.9" Text="[[Order Details.UnitPrice] * [Order Details.Quantity]]" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" Font="Tahoma, 8pt"/> |
| 82 | + <TextObject Name="Text9" Left="396.9" Top="9.45" Width="18.9" Height="18.9" Text="=" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" Font="Tahoma, 8pt"/> |
82 | 83 | </DataBand>
|
83 | 84 | </DataBand>
|
84 | 85 | </DataBand>
|
85 |
| - <ReportSummaryBand Name="ReportSummary1" Top="167.2" Width="718.2" Height="37.8" Fill.Color="LightSalmon"> |
86 |
| - <TextObject Name="Text10" Left="415.8" Top="9.45" Width="75.6" Height="18.9" Text="[OrderTotal]" Format="Currency" Format.UseLocale="true" HorzAlign="Right" Font="Tahoma, 8pt"/> |
87 |
| - <TextObject Name="Text11" Left="311.85" Top="9.45" Width="85.05" Height="18.9" Text="Total:" Format="Currency" Format.UseLocale="true" HorzAlign="Right" Font="Tahoma, 8pt"/> |
| 86 | + <ReportSummaryBand Name="ReportSummary1" Top="195.55" Width="718.2" Height="37.8" Fill.Color="LightSalmon"> |
| 87 | + <TextObject Name="Text10" Left="415.8" Top="9.45" Width="75.6" Height="18.9" Text="[OrderTotal]" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" Font="Tahoma, 8pt"/> |
| 88 | + <TextObject Name="Text11" Left="311.85" Top="9.45" Width="85.05" Height="18.9" Text="Total:" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" Font="Tahoma, 8pt"/> |
88 | 89 | </ReportSummaryBand>
|
89 |
| - <PageFooterBand Name="PageFooter1" Top="209" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke"> |
| 90 | + <PageFooterBand Name="PageFooter1" Top="237.35" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke"> |
90 | 91 | <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 .NET" VertAlign="Center" Font="Tahoma, 8pt, style=Underline" TextFill.Color="Blue"/>
|
91 | 92 | </PageFooterBand>
|
92 | 93 | </ReportPage>
|
93 |
| - <DialogPage Name="Form1" Width="298" Height="174" AcceptButton="btnOk" CancelButton="btnCancel"> |
| 94 | + <DialogPage Name="Form1" Width="298" Height="174" AcceptButton="btnOk" CancelButton="btnCancel" Font="Tahoma, 8pt"> |
94 | 95 | <ButtonControl Name="btnCancel" Left="205" Top="107" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
|
95 | 96 | <ButtonControl Name="btnOk" Left="122" Top="107" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
|
96 | 97 | <LabelControl Name="Label1" Left="12" Top="40" Width="57" Height="13" Font="Tahoma, 8pt" TabIndex="3" Text="Employee:"/>
|
|
0 commit comments