Registering a Data Source

From Apache OpenOffice Wiki
Jump to: navigation, search



Registering a Data Source

For a data source to be directly accessible from within a Writer document, it must first be registered as described below. You only need to do this once. Having done so, the data source is available to all documents in OpenOffice.

  1. From within any OpenOffice document, or from the OpenOffice Start Center, choose File → Wizards → Address Data Source.
  2. The choices on the first page of the wizard vary with your operating system. Select the appropriate type of external address book. In this example, it is Other external data source. Click  Next .
AOO41WG11 002.png
Figure 2: Select type of external address book
  1. On the next page of the Wizard, click the  Settings  button.
AOO41WG11 003.png
Figure 3: Starting the Settings part of the Wizard
  1. In the Data Source Properties tab, select the Database type. In our example, it is Spreadsheet. Click  Next .
AOO41WG11 004.png
Figure 4: Selecting the database type
  1. In the next dialog box, click Browse and navigate to the spreadsheet that contains the address information. Select the spreadsheet and click Open to return to this dialog box. At this time you may wish to test that the connection has been correctly established by clicking on the  Test Connection  button.
AOO41WG11 005.png
Figure 5: Selecting the spreadsheet document
  1. Click Finish.
  2. On the following page, click  Next . Because this is a spreadsheet, do not click Field Assignment.
AOO41WG11 006.png
Figure 6: Because this is a spreadsheet, do not click Field Assignment
  1. Name the file in the Location field. The default is …\Addresses.odb; but you may replace Addresses with any other name if you wish. You may also change the name in the “Address book name” field. In our example, the name “Points” was used for both.
AOO41WG11 007.png
Figure 7: Name the .odb file and the address book
  1. Click Finish. The data source is now registered.
Personal tools