Hi All-
I am trying to create a table and insert values into an Access database with Java. My java program will compile, but I receive this error when I try to run the program:
ERROR: java.sql.SQLException:[ODBC Microsoft Access Driver] Syntax Error in field definition
I am not sure if I am setting up my ODBC driver correctly. Any suggestions in setting up my driver?? I have some of the java program here for my obdc connection as well.
String url = "jdbc
dbc:CLCDB";
String myForm;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"
;
Connection con = DriverManager.getConnection(url);
Thanks a bunch!
I am trying to create a table and insert values into an Access database with Java. My java program will compile, but I receive this error when I try to run the program:
ERROR: java.sql.SQLException:[ODBC Microsoft Access Driver] Syntax Error in field definition
I am not sure if I am setting up my ODBC driver correctly. Any suggestions in setting up my driver?? I have some of the java program here for my obdc connection as well.
String url = "jdbc
String myForm;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"
Connection con = DriverManager.getConnection(url);
Thanks a bunch!