0% found this document useful (0 votes)
19 views

How To Create and Setup An ODBC Database Connection

To create an ODBC connection to an MS Access database, you must: 1. Open the ODBC Data Source Administrator from the Control Panel. 2. Click Add and select the Microsoft Access driver for your Office version. 3. Give the data source a name and select your Access database file. 4. Click OK to complete the connection setup and use the data source name in applications.

Uploaded by

SherJa
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

How To Create and Setup An ODBC Database Connection

To create an ODBC connection to an MS Access database, you must: 1. Open the ODBC Data Source Administrator from the Control Panel. 2. Click Add and select the Microsoft Access driver for your Office version. 3. Give the data source a name and select your Access database file. 4. Click OK to complete the connection setup and use the data source name in applications.

Uploaded by

SherJa
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

How to Create and Setup an ODBC Database Connection

Read more:
How to Create an Odbc to Connect to an MS Access 2007 Database | eHow.com
http://www.ehow.com/how_6503661_create-ms-access-2007-database.html#ixzz1JWptSs9P

Instructions
In order to create and setup an ODBC Connection to link tables in MS Access, you will need to perform the below
steps. Before carrying out these steps your database should already be created.

1. To Begin, you will need to open your control panels as follows: Click on Start, then click on Control Panels.

2. Next, double click on the Administrative Tools icon.


3. Then, double click on the Data Sources (ODBC) icon.

4. In the ODBC Data Source Administrator Window, click on the ADD button on the right side of the screen
on the "User DSN" tab

5. In the Create New Data Source Window, scroll and click on Microsoft Access Driver(*.mdb, *.accdb) if
using office 2007 or office 2010 or Microsoft Access Driver(*.mdb. ) if using office 2003.

6. Then, click the Finish button.

7. Type in a "Data Source Name" and click the "Select" button in the "Database" group.

8. Search for your database in the list of directories, select it and then click the "OK" button.

9. Click "OK" again to finish creating your connection.

Note: The "Data Source Name" is what you will use in the java application:
Jdbc:odbc: Data Source Name

You might also like