Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Error in Update Statement

 
   Database Help (Home) -> Visual Basic -> DAO RSS
Next:  VB6 using Access 2000  
Author Message
Jon S. Jaques

External


Since: Oct 22, 2003
Posts: 2



(Msg. 1) Posted: Wed Oct 22, 2003 3:10 pm
Post subject: Error in Update Statement
Archived from groups: microsoft>public>vb>database>dao (more info?)

Hello,

I have an ASP page that needs to update a record, but I keep getting errors,
and cannot see the problem. The error message is:
Microsoft JET Database Engine error '80040e14'

Syntax error in UPDATE statement.

/Cabo/admin/Accomodations/Update.asp, line 112

And the update statement is:

update tblHotels set Name = 'Casa Del Mar Golf Resort & Spa', ListName =
'sdf', Image = '/cabo/accomodations/images/casadelmar.jpg' where HotelID = 1

Can anybody spot the error here? I don't *think* it's a problem with
reserved words, and the field types should all be correct and long enough to
accept the submitted data.

Please help!

--Jon Jaques

 >> Stay informed about: Error in Update Statement 
Back to top
Login to vote
Jon S. Jaques

External


Since: Oct 22, 2003
Posts: 2



(Msg. 2) Posted: Wed Oct 22, 2003 3:27 pm
Post subject: Re: Error in Update Statement [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ahhh, never mind, it WAS a problem with Reserved Words!!! What a pain!

Thanks anyhow!

--Jon

"Jon S. Jaques" <jonj.RemoveThis@sysconn.com> wrote in message
news:eYlzwULmDHA.744@tk2msftngp13.phx.gbl...
 > Hello,
 >
 > I have an ASP page that needs to update a record, but I keep getting
errors,
 > and cannot see the problem. The error message is:
 > Microsoft JET Database Engine error '80040e14'
 >
 > Syntax error in UPDATE statement.
 >
 > /Cabo/admin/Accomodations/Update.asp, line 112
 >
 > And the update statement is:
 >
 > update tblHotels set Name = 'Casa Del Mar Golf Resort & Spa', ListName =
 > 'sdf', Image = '/cabo/accomodations/images/casadelmar.jpg' where HotelID =
1
 >
 > Can anybody spot the error here? I don't *think* it's a problem with
 > reserved words, and the field types should all be correct and long enough
to
 > accept the submitted data.
 >
 > Please help!
 >
 > --Jon Jaques
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Error in Update Statement 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
is there any sql statement for ... - hi, i want to select between 100th and 200th records on a table. is there any sql statement for that like TOP statement. I know TOP statement returns absultely (or percently when use TOP PERCENT) top records. But i need between 100th and 200th records...

Jet error - I've just started getting this error message on a seemingly random basis. 'The Microsoft Jet database engine does not recognize 'CID' as a valid field name or expression.' CID is a text field, and it is a valid column name. The line of code that..

Error 3043 - We are supporting an older app written in VB 6.0 (sp5), with Jet 3.51 connected to Access 97 databases. For most users, the system works great, but at a few sites we hit error 3043 which then causes the dreaded 3343 error. At one site, this seems to..

Error Trapping - I am trying to trap the error that raises when you attempt to query a database that does not exist. noted that DAO.DBEngine.Error.Count does contain the value of how many errors have happened. Just cant seem to catch the error so that It can be handled..

error 3265 - can anyone pls tell me what to do? i have done all the connections that need to be done, but this error keep comming-up (error 3265) please help -- http://www.dbForumz.com/ This article was posted by author's request Articles individually checked for....
   Database Help (Home) -> Visual Basic -> DAO All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]