To connecting java and MS. Access, we need to configure ODBC first.
Steps to configure the ODBC is as follows:
- Open the Control Panel> Administrative Tools> Data Sources (ODBC).
- On the User DSN tab, click Add, then select the driver Microsoft Access Driver (*. mdb) and click Finish.
- Then the display appears ODBC Microsoft Access Setup, fill in the name of the database in the Data Source Name.
- Click Select, then choose the database you created and click OK
- Klik the Advanced button to create a database login configuration, and then fill in the Login Name and password used to access the database. Then click OK
- Click OK in the ODBC Microsoft Access Setup dialog box and the ODBC Data Source Administrator.




From the ODBC DSN configuration, you will get results as follows:
DSN Name: AccessDB
User: Admin
Password: Admin
0 comments:
Post a Comment