This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi there! I am trying to update a table in my access database, the code in my bean for doing this is: // Create the statement object --> Statement statement = connection.createStatement(); // Define and execute the sql update --> String update = "UPDATE user SET FNAME="+fName+",LNAME="+lName+",USERID="+userId+",PASSWORD="+password+" WHERE FNAME="+user; statement.executeUpdate(update); I get no errors so I thought everything was working just fine, but when I took a look in the database, no changes had been made... any suggestions to what is happening? Is the code above wrong? Thanks in advance! Regards ------------------ Dominic Steng�rd Sun Certified Java 2 Programmer ------------------
[This message has been edited by Dominic Steng�rd (edited April 21, 2001).]