Reports Information
To generate the report information, preview the report, and print the
report from your user interface, you need to add push buttons and connect them
to the report viewer and report part.
- Add three push button parts to BusinessExpenseView just above
the report viewer part. Label them Run Report, Preview
Report, and Print Report.
- To generate the report information and display it in the window, connect
the Run Report button's clicked event to the
refresh action of the Report Viewer.
- To preview the report, make the following connections:
- The Preview Report button's clicked event to
the report part's previewWithOwner action
- The window's self attribute to the ownerView
attribute of the previous connection
- To print the report, connect the Print Report button's
clicked event to the report part's print
action.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]