| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 transitional//EN"> |
| <html> |
| |
| <head> |
| <title>BIRT Tutorial</title> |
| <link rel="stylesheet" href="../style/compose.css" type="text/css"> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| </head> |
| |
| <body> |
| |
| <p class="head">BIRT Tutorial</p> |
| <p class="subhead">Creating a Report</p> |
| |
| <h1>Create a Project</h1> |
| <p> |
| Eclipse uses projects to organize your files. So, the first step is to create a new project. For this demo, let's create a project called "My Reports": |
| |
| <ul> |
| <li>Choose File→New→Project. The new project dialog appears. |
| <li>Open the "Business Intelligence and Reporting Tools" group and choose |
| "Report Project". |
| <li>Click Next. |
| <li>Type "My Reports" (without the quotes) as the project name. |
| <li>Click Finish. |
| <li>Click OK if asked to switch to the Report Design perspective. (This occurs |
| if you create a BIRT project while in a perspective other than Report Design.)</ul> |
| |
| <h1>Create a Report</h1> |
| <p> |
| We're now ready to create our first report:<ul> |
| <li>Choose File→New→Report. The new report dialog appears. |
| <li>In the tree view, choose the project we just created: My Reports. |
| <li>Enter the following in the file name field: Customers.rptdesign.<li>Click Next.</ul> |
| |
| <p>You can create a report in three ways: as a blank report, by using a |
| BIRT-defined template, or by copying one of your report designs. The second page |
| of the New Report dialog provides two of these options. Since we want to use a |
| template, do the following:</p> |
| <ul> |
| <li>Select "Create Report from a predefined template"</li> |
| <li>Click Next.</li> |
| </ul> |
| |
| <h1>Choose a Template</h1> |
| <p> |
| The next page of the New Report dialog presents a selection of report templates. |
| Before we choose the one we want, let's walk though what's available. |
| |
| <dl class="arrow-list"> |
| <dt>Blank Report |
| <dd>A simple blank report with no content. |
| |
| <dt>My First Report<dd>Starts a report template that takes you through a |
| tutorial using on-line help. (That tutorial will eventually replace this one.)</dd> |
| |
| <dt>Simple Listing |
| <dd>A tabular listing with no grouping. |
| |
| <dt>Grouped Listing |
| <dd>A tabular listing with grouping. Grouping shows |
| repeated values just once. Grouping also allows you to create |
| subtotals. |
| |
| <dt>Dual Column Listing<dd>Produces a listing with two columns side-by-side.</dd> |
| |
| <dt>Chart & Listing |
| <dd>A tabular listing that adds a chart to the top |
| of the report. |
| |
| <dt>Dual Chart & Listing |
| <dd>Combines charts and tables so you can display two |
| sets of related data in a single report. |
| |
| <dt>Side by Side Chart & Listing |
| <dd>A visual variation of the above. |
| |
| <dt>Letter |
| <dd>A form letter in which database data is "mail-merged" into the |
| text. The letter text can be formatted using a subset of HTML. |
| </dl> |
| <p> |
| <p> |
| We're now ready to choose our template: |
| |
| <ul> |
| <li>Select the Grouped Listing. |
| <li>Click Finish.</ul> |
| |
| <p>BIRT opens your new report in the Eclipse workspace.</p> |
| |
| </body> |
| </html> |