First, I've already searched the forum for an answer and didn't find
anything that really seemed to answer it.
I'm using MS Access on Win 2000. I'm trying to access data that's already
in the table and when I run it, I get:
before resultset...
Exception occured...Driver does not support this function
java.sql.SQLException: Driver does not support this function
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String CbDb_url = "jdbc

dbc

river={Microsoft Access Driver" +
" (*.mdb)};DBQ=" +
"C:\\Project\\ODBC\\PartsBook\\PartsBook.mdb";
Connection con = DriverManager.getConnection(CbDb_url);
String sql = "SELECT * FROM PartsBook.PartsCategory";
PreparedStatement pstmt = con.prepareStatement(sql);
ResultSet rs = pstmt.executeQuery( sql );
It fails on the executeQuery().
Based on other questions in this forum, I tried a
Statement statement con.createStatement() then
statement.executeQuery(sql), but that doesn't work either...
Can anyone tell me what I'm doing wrong?
Thanks...