Lesson 5: Design the child report by using the Report Wizard
After you create a data connection and data table for the child report, your next step is to design the child report using the Report Wizard in Report Designer. For more information about Report Designer, see Design Reports with Report Designer (SSRS).
Design the child report by using the Report Wizard
Make sure that the top-level website is selected in Solution Explorer.
Right-click on the website and select Add New Item.
In the Add New Item dialog box, select Report Wizard, enter a name for the report file, and then choose Add.
This action launches the Report Wizard.
In the Dataset Properties page, in the Data source box, select DataSet2.
The Available datasets box is automatically updated with the DataTable you created.
Select Next.
In the Arrange Fields page do the following:
Drag ProductID, PurchaseOrderID, PurchaseOrderDetailID, OrderQty, ReceivedQty, RejectedQty, and StockedQty from Available Fields to the Values box.
Select the arrow next to Sum(ProductID), Sum(PurchaseOrderID), Sum(PurchaseOrderDetailID), Sum(OrderQty), Sum(ReceivedQty), Sum(RejectedQty), and Sum(StockedQty) and clear the Sum selection.
Select Next twice, then choose Finish to close the Report Wizard.
You created the .rdlc file. The file opens in Report Designer. The tablix you designed is now displayed in the design surface.
With the .rdlc file open, add a parameter by doing the following steps:
Right-click Parameters in the Report Data pane, and then select Add Parameters.
Enter productid in the Name box.
Confirm that Integer is selected in the Data Type list box.
Select OK.
Save the .rdlc file.