# Registering an Address Book

/text/shared/guide/data_addressbook.xhp
Sun Microsystems, Inc.
FPE: Deleted screenshots. Cleaned.
data sources; registering address books
address books; registering
system address book registration
registering; address books
Registering an Address Book
In %PRODUCTNAME you can register different data sources. The contents of the data fields are then available to you for use in various fields and controls. Your system address book is such a data source.
%PRODUCTNAME
templates and wizards use fields for the contents of the address book. When activated, the general fields in the templates are automatically replaced with the fields from the data source of your address book.
In order for the replacement to take place, you must tell %PRODUCTNAME which address book you use. The wizard asking for this information appears automatically the first time you activate, for example, a business letter template. You can also call the wizard by following the steps listed below.
The address book data is read-only in %PRODUCTNAME Base. It is not possible to add, edit, or delete address data from within Base.
Address Data Source Wizard
To call the Address Data Source wizard, choose File - Wizards - Address Data Source.
Registering An Existing Address Book Manually
- Choose File - Templates - Address Book Source. The Templates: Address Book Assignment dialog appears.
- In the Data source combo box, select the system address book or the data source you want to use as an address book.
- If you have not yet registered the system address book in %PRODUCTNAME as the data source, click the Address Data Source ... button. This takes you to the Address Book Data Source Wizard, in which you can register your address book as a new data source in %PRODUCTNAME.
- In the Table combo box, select the database table you want to use as the address book.
- Under Field assignment, match the fields for first name, company, department, and so on to the actual field names used in your address book.
- When finished, close the dialog with OK.
Now your data source is registered in %PRODUCTNAME as the address book. If you now open a template from the Business Correspondence category, %PRODUCTNAME can automatically insert the correct fields for a form letter.