
Chapter 7: Databases and Data Sources
2. In the Data source box, select the system address book or the data source to use as the
address book.
If the system address book is not yet registered in OpenOffice.org as a data source, click
the Administrate button. This opens the Address Book Data Source Wizard, in which
the address book can be registered as a new OpenOffice.org data source. Read further how
to do this in the next section, System address book as data source.
3. In the Table box, select the database table to use as the address book.
4. Under Field assignment, set the fields for company, department, first name, et cetera to
the actual field names used in the address book.
5. Click OK. After this point, the address book is recognized as an OpenOffice.org address
book data source.
System Address Book as Data Source
1. Select File > Templates > Address Book Source.
2. Click the Administrate button to call the Address Book Data Source Wizard (see also
instructions above).
3. Select the type of external address book and click Next.
4. Data sources vary at this point. Additional settings may need to be chosen. Some address
books have multiple tables, only one of which can be used per data source. Click Next
after completing this step.
5. In the Data Source Name step, choose a location in which to save the database and a
name for OpenOffice.org to use as the name for the data source.
6. Click Finish.
Importing Data Into OpenOffice.org
If one is exchanging data with a database that does not have an ODBC link and which does
not allow dBase import and export, it is often possible to exchange the data via a common
text format.
Importing and Exporting Data in Text Format
To exchange data in a text format use the Calc import/export filter.
1. Export the desired data from the source database in a text format. The CSV text
format is highly recommended since it separates data fields by using commas and
records by inserting line breaks.
2. Open the data with the Text CSV file filter. Select this file filter in the Open dialog
in the Files of type list box. Select the file and click Open.
3. This displays the Text Import dialog. Here users can decide which data to include
from the text document.
OpenOffice.org User Guide for 2.x 380
Kommentare zu diesen Handbüchern