G
Grzesiek
Hi ,
I can access MS Access database using the folowing code:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String filename = "d:/dataBase.mdb";
String database = "jdbcdbcriver={Microsoft Access
Driver (*.mdb)};DBQ=";
database+= filename.trim() +
";DriverID=22;READONLY=true}";
Connection con =
DriverManager.getConnection( database ,"","");
and it works fine. But i have a question. What DriverID stands for?
Why you write DriverID=22. Are there possible other values of
DriverID?
Thanx in advance
I can access MS Access database using the folowing code:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String filename = "d:/dataBase.mdb";
String database = "jdbcdbcriver={Microsoft Access
Driver (*.mdb)};DBQ=";
database+= filename.trim() +
";DriverID=22;READONLY=true}";
Connection con =
DriverManager.getConnection( database ,"","");
and it works fine. But i have a question. What DriverID stands for?
Why you write DriverID=22. Are there possible other values of
DriverID?
Thanx in advance