Name the data set
RepDataSet. This is the only name that generates reports from data in the Administration and Monitoring Console.Create a custom report in Microsoft Visual Studio
1
Create a Visual Basic Class Library
- On the main menu, click File → New → Project.
- Choose the Class Library element in the Templates → Visual C# menu.
2
Add a report to the project
- On the Project menu, click Add New Item.
- In the Add New Item dialog box, select the Report item from the Visual C# Items → Reporting template group.
3
Associate the report with a data set
In the Report Data pane, click New → Data Set….
4
Name the data set
Select an existing data set and set its name to RepDataSet.
5
Design the report
Lay out the report contents.
6
Create the XML description file
Create the XML description file for your report.
7
Enable the report
Enable your custom report by copying the XML description file and the
.rdlc report file to the FlexiCapture12\CustomReports subfolder of the IIS root folder. The report then appears in the Custom reports submenu of the Administration and Monitoring Console.Create a custom report in Microsoft Report Builder
1
Create a data source
- Start Microsoft Report Builder.
- In the Report Data pane, right-click Data Source and click Add Data Source… on the shortcut menu.
- Enable the Use a connection embedded in my report option.
- Click OK.
2
Create a data set named RepDataSet
- In the Report Data pane, right-click Datasets and click Add Data Set… on the shortcut menu.
- Set the name of the data set to RepDataSet.
- Enable the Use a dataset embedded in my report option.
- Specify the data source you created earlier.
- Click OK.
3
Describe the data set fields
- In the Report Data pane, right-click RepDataSet and click Dataset Properties on the shortcut menu.
- Select the Fields tab, describe the fields of the data set, and specify the other report settings.
4
Create the XML description file
Create the XML description file for your report.
5
Enable the report
Enable your custom report by copying the XML description file and the
.rdl report file to the FlexiCapture12\CustomReports subfolder of the IIS root folder. The report then appears in the Custom reports submenu of the Administration and Monitoring Console.