tailieunhanh - Crystal Reports For Visual Studio 2005 phần 4
2. Trong hộp thoại Add New khoản, chọn lớp từ xem Templates. 3. Trong trường Name, gõ "CeComparisonOperator", và sau đó nhấn Add. Lưu ý Trong Visual Studio 2005, bạn có thể được yêu cầu đặt lớp này trong Bộ luật | Walkthroughs 4. Right-click within the new Details b section that you have created point to Insert and then click Subreport. A gray square appears around the mouse cursor. 5. Drag the gray rectangle into the new Details b section and then click to release. 6. In the Insert Subreport dialog box on the Subreport tab select Create a subreport with the Report Wizard. Note The Insert Subreport dialog box includes other options that allow you to choose an existing report and on-demand subreports. 7. In the New report name field type CustomerOrders. 8. Click Report Wizard. 9. In the Available Data Sources panel of the Standard Report Creation Wizard window expand the Create New Connection folder. Note In Visual Studio .NET 2002 or 2003 where Crystal Reports has not been upgraded to the full version the Create New Connection folder does not exist the contents are shown at the top level. 10. From the subfolder that opens expand the ODBC RDO folder. The folder contains the database server which has been configured for the report when the report is created. Note If the server is not displayed follow the instructions in the previous tutorial to connect to the Xtreme Sample Database. 11. Select the Orders table and click the symbol to move the Orders table into the Select Tables panel and then click Next. 12. From the Available Fields panel select Order ID Order Date Ship Date and Ship Via. 13. Click the symbol to move these fields into the Fields to Display panel and then click Finish. 14. In the Insert Subreport dialog box select the Link tab. 15. In the panel Container Report field s to link to in the list Available fields expand the Customers table select Customer ID and then click the symbol. 16. In the ID field link panel that appears leave the default selections unchanged. These parameter and data selections auto-generate a relationship between the main report and the subreport. 17. Click OK. The new subreport CustomerOrders is displayed within the .
đang nạp các trang xem trước