eramgarden
Programmer
I inherited a code, i set it up on my laptop and when I try to run it, i get a SQL error:
java.sql.SQLException: No data found
I ran debug and it happens on this line:
Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
c = DriverManager.getConnection( "jdbc
dbc:qa-list", "", "" );
stmnt = c.createStatement();
1.Google has it to check ODBC DSN's and I did that and it looks fine
2.The ODBC connection is Excel file
3. When I run the app, I chose a "txt" file to open, it comes down that code and gives the error...since this is an Excel ODBC...i can only open excel files???
Any help would be greatly appericaited...
java.sql.SQLException: No data found
I ran debug and it happens on this line:
Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
c = DriverManager.getConnection( "jdbc
stmnt = c.createStatement();
1.Google has it to check ODBC DSN's and I did that and it looks fine
2.The ODBC connection is Excel file
3. When I run the app, I chose a "txt" file to open, it comes down that code and gives the error...since this is an Excel ODBC...i can only open excel files???
Any help would be greatly appericaited...