Getting Started Guide
The fields we need for the first report from the Vacations table are: Date, Motel, Toll,
Breakfast, Lunch, Supper, SnackCost, and Miscellaneous. This report will not require
an additional query.
The second report involves the Fuel table. Since this table includes fuel purchases at
times other than during the vacation, we need to create a query that contains only
the fuel purchased during the vacation.
Vacations table report
To create a new report.
1) Click the Reports icon in the Database list in the Automobile – OpenOffice.org
Base window (Figure 175).
2) In the Tasks list, click Use Wizard to Create Report. The Report Wizard
opens.
Step 1: Field selection
1) Select Table: Vacations in the Tables or Queries dropdown list.
2) Use the > to move these fields from the Available fields list to the Fields in
report list: Date, Motel, Tolls, Miscellaneous, Breakfast, Lunch, Supper, and
SnackCost. Click Next.
Figure 236: Adding fields to a report
Step 2: Labeling fields
Change any field labels you wish. We will shorten Miscellaneous to Misc. Click Next.
Step 3: Grouping
Since we are grouping by the date, use the > button to move the Date field to the
Grouping list. Click Next.
Figure 237: Selecting fields for grouping data
246 Getting Started with OpenOffice.org 3.3