Creating the Data Source

From Apache OpenOffice Wiki
Jump to: navigation, search



Creating the Data Source

A data source is a database containing the name and address records (and optionally other information) from which a mailing list can be created. Although you can produce and print mailing labels and envelopes without using a data source, in most cases using one is the optimal approach. This chapter assumes that you are using a data source.

Apache OpenOffice can access a wide variety of such sources, including spreadsheets, text files and databases such as MySQL. If the information to be used in the mail merge is currently in a format that AOO cannot access directly, you need to convert it, for example by exporting it to a comma-separated values (CSV) file.

For the following example we use a spreadsheet with the following column (field) headers: Title, First name, Last name, Address, State/County, Country, Post Code, Gender, Points. A sample data source is shown in Figure 1.

AOO41WG11 001.png
Figure 1: Spreadsheet data source
Personal tools