Creating the Data Source

From Apache OpenOffice Wiki
< Documentation‎ | AOO4 User Guides/Writer Guide‎ | Using Mail Merge
Revision as of 09:29, 6 October 2025 by DiGro (talk | contribs) (→‎Creating the Data Source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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