FREE tutorial,solution,RSS Feeds on Operating Systems, Programming, Web Development, Applications, Databases, Networking, Hardware, Security, SEO Free Expertsforge Membership
Join us as Moderator
Submit Article to Expertsforge.com Submit Article My Expertsforge
 
RSS Feeds, Help Help RSS Feeds
bannertop
 

MS Access Tutorial: Microsoft JET Database Engine error '80040e14'. Syntax error in UPDATE statement

jawahar
10/27/2007 11:15:17 AM, Views: 701
Solution for the Error: Microsoft JET Database Engine error '80040e14'. Syntax error in UPDATE statement

You will also get the above error sometimes while executing the INSERT statement.(Syntax error in INSERT statement)

This occurs when your database table field name is a reserved keyword. Change your field names or your SQL statement to avoid such problems.

In the below example, one of the field name is "password" which is the access reserved keyword. If you use this keyword as your field name, you will get the above error during field updation. So to avoid this you can use [ ] to delimit the field names, like shown below:

INSERT INTO users(userid, [password]) VALUES ('expertsforge', 'somepassword')
Next Steps:
Add this Tutorial to:
Blink Blink del.icio.ous Del.icio.us Digg Digg
Fark Fark Furl Furl Google Google
Reddit Reddit Simpy Simpy Spurl Spurl
Technorati Technorati Windows Live Win Live Yahoo Yahoo
Rate Me!
Not Yet Rated!
Rate:
Send Private MessageSend Message
Signup / Login To View the Solution or Provide Comments
Post Comment/Solution
Comment:*
        (Link Rules) 
  Use : [bold] for <b>; [/bold] for </b>; [italic] for <i>; [/italic] for </i>; [code] & [/code] for code
 
Categories
Options
MS Access RSS Feed
Most Popular Tutorial
Most Popular Solution
No Records!
Top Rated
Top Rankers
Overall
1. jawahar (150)
Yearly -2008
No Rankings!
Expertsforge Sponsors
bnrtop