|
| |
Setting Up an Access DataStore for your JDBC-ODBC Java Programs
- Double click on the Start | Setting | Control Panel | 32 Bit ODBC icon. Will see the
ODBC Data Source Administrator screen.
- On the User DSN tab, click Add.
- Will see the Create New Data Source screen.
- Select Microsoft Access Driver and click Finish.
- Will see the ODBC Microsoft Access Setup screen. Under Data Source Name, enter the
name that you want to have associated with the database, e.g., eCommerceDB. (This is the
same name that you need to use when specifying the DB URL in your program, e.g.,
jdbc:odbc:eCommerceDB.)
- Click on the Select
button to select the file that is to be associated with your
database (e.g., c:\somedir\myDb.mdb). This assumes that you have already created an Access
database using Access earlier.
- Click OK
- Click OK again to leave the ODBC Data Source Administrator screen.
|