If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Syntax error (missing operator) in query expression

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-28-07, 09:38
saso saso is offline
Registered User
 
Join Date: Feb 2007
Posts: 1
Syntax error (missing operator) in query expression

Hi All,
am trying to update access database with this sql statemnt,

set ors = oConn.Execute( " update items set date_db='" & request.form("t1") & "', item='" & request.form("t2") & "', item2='" & request("t3") & "', item3='" & request("t4") & "', dollar_price='" & request.form("t5") & "', cent_price='" & request.form("t6") & "', um='" & request.form("t7") & "' WHERE items.item_ID="&request.form("t8")&" " )

and alwayes get this error message:

Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'items.item_ID=2></td> </tr> <tr> <td height='.
/asp/update.asp, line 52

the item_id in the database is outonumber field am not sure if this what causing the problem,
any help will be appriciated .
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On