Hi,

I am urgently in need of  help.
I am trying to insert data into the table (MS Access) and I always get the
erro "General error". I've spent 2 days trying to recover the SQL
exception, but it doesn't work. I dont' know where is the mistake

statement.executeUpdate("Insert into Sub (Login, TitleID) values ('" +
Ulogin + "', " + STID + " )" );

java.sql.SQLException: General error

// with reference to the above statement
I have tried using ResultSet xyz = statement.executeQuery("...");

I also tried this........................ without variables. doesn't work.
                                       \|/
statement.executeUpdate("Insert into Sub values ('" +
Ulogin + "', " + STID + " )" );

Ram

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to