Adding a report viewer
The Report Viewer part lets you display the information that will be printed in a report in your application's user interface. This part is especially useful when you need to report on a database query and you want to make sure the query has returned the proper results before you print the report. To add a Report Viewer to BusinessExpenseView, follow these steps:
1. In the Composition Editor for BusinessExpenseView, select Report Viewer from the Reports category on the parts palette.
2. Drop the part near the bottom of your window part.
3. Resize the part so it fits in the window, leaving room for push buttons. You can also resize the window so the report viewer fits.
4. Connect the report attribute of the report viewer to the self attribute of the report part.
Last modified date: 01/29/2015