You can add your own templates, or use one of the supplied templates to create a report from scratch. You have three data source options:
| • | One Empty Record - Empty rows: This is default data adapter for creating a report without data. You might use this option to define the layout of a report and connect it to a data source later. |
| • | Sample DB - Database JBDC Connection: This is an SQL database provided with the Jaspersoft Studio installation. |
| • | Create a new data adapter: Jaspersoft Studio supports a wide variety of data sources. |
To create a new report:
| 1. | Go to File > New > Jasper Report. The New Report Wizard window displays the Report Templates page. |
New Report Wizard |
|
| 2. | Select the Coffee template and click Next. The New Report Wizard shows the Report file page. |
New Report Wizard > Report file |
|
| 4. | Click Next. The Datasource window appears. |
| 5. | Choose Sample DB - Database JDBC Connection. Enter the query select * from orders |
New Report Wizard > Datasource |
|
| 6. | Click Next. The Fields window appears. The Dataset list shows all the discovered fields. |
New Report Wizard > Fields |
|
| 7. | Select the following fields and click the right arrow to add them to your report. |
| 8. | Click Next. The Grouping window appears. |
| 9. | Click Next and Finish. |
Jaspersoft Studio now builds the report layout with the selected fields included as shown.
New Report in Design View |
|
Recommended Comments
There are no comments to display.