Using ODBC Databases in the Mail Merge

AutoMailMerge plug-in for Adobe® Acrobat®

Introduction
This tutorial shows how to connect to ODBC Database in the AutoMailMerge™ plug-in for the Adobe® Acrobat®. Use this tutorial to connect to ODBC database for performing a mail merge processing on PDF forms.
Prerequisites
You need a copy of the Adobe® Acrobat® along with the AutoMailMerge™ plug-in installed on your computer in order to use this tutorial. You can download the trial versions of both the Adobe® Acrobat® and the AutoMailMerge™.

Step-by-Step Tutorial

Step 1 - Start the AutoMailMerge™ Plug-in
Open a PDF form you want to use in the mail merge process.
Select "Plug-Ins > Mail Merge…" to open the "Mail Merge" dialog.
If you are using a new Adobe Acrobat interface, then you can locate Mail Merge menu here:
Using new Adobe Acrobat menu
Please see the following page for video how to locate Plugins menu in new Adobe Acrobat interface.
If you are using a "classic" Adobe Acrobat interface (pre-2022), then you can locate Mail Merge menu here:
Usig classic Adobe Acrobat menu
Click "Edit Settings...".
Press Edit Settings button
Press the "Browse..." button in the "Data Source" screen.
Press Browse button and select Data Source
Step 2 - Select ODBC Data Source
Select "ODBC Data Source" in the "Select Data Source Type" dialog and click "OK".
Select ODBC Data Source
Step 3 - Create File DSN
Click "New..." in the "File Data Source" tab to add a new file DSN.
Click New button
Select a driver for which you want to set up a data source. The tutorial uses the "Microsoft Access Driver" as an example. Click "Next >".
Select a driver
Now you will be presented screens and dialogs that correspond to the specific ODBC database you have selected.
Press the "Browse..." button to create a file DSN.
Press Browse
Select a folder and enter any desired file name. Remember where you are saving this file, you will need to select it later in the AutoMailMerge™. Click "Save" once done. We are using "MS Access Test DSN" in the tutorial.
Enter a file name
The file path would appear in the field. Click "Next >" to proceed.
Click Next
Check information in the box about the file data source which you have just configured. Click "Finish".
Check results
Step 4 - ODBC Database Connecting
The ODBC driver will now prompt you for additional information. Remember, this screen is specific for the ODBC driver used.
Click "Select..." in the "ODBC Microsoft Access Setup" dialog.
Start ODBC setup
Select a folder and a database from the list in the "Select Database" dialog. In the tutorial it is the Microsoft Access database file. Click "OK" once done.
Select a database
Click "OK" in the "ODBC Microsoft Access Setup" dialog to complete ODBC setup.
Complete ODBC setup
You may get a message that "The File Data Source was not saved", just ignore it. Now you should see this newly created File DSN in the list. Click "Cancel" to finish ODBC managing and close this dialog.
Finish ODBC managing
Step 5 - Select a Data Source
Select "ODBC Data Source File (*.dsn)" in the "Select Data Source Type" dialog.
Select data source type
Open a folder and select a file DSN that was created earlier. Click "Open".
Select a file DSN
Now you will be connected to the database and the "Select Table" dialog should appear on the screen. Select a table from the list. You can enter a custom SQL SELECT statement in this window. Click "OK" to finish.
Select a table form the list
Now the list of the PDF form fields should appear on the screen. The data source is ready for the field-mapping step. See "How to Perform a PDF Mail Merge" tutorial for step-by-step instructions on setting up the mail merge process.
Data would appear
Click here for a list of all step-by-step tutorials available.