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 > Error number = 2147467259, Error Description = Operation must use an updateable query

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-22-03, 00:45
Pwint Pwint is offline
Registered User
 
Join Date: Oct 2003
Posts: 1
Error number = 2147467259, Error Description = Operation must use an updateable query

Please help me to sove this problem.

I want to use the INSERT INTO sql statement in MS ACCESS and ASP and and used the following query

set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open(Server.Mappath("Travel.mdb"))
sql="INSERT INTO Tmp_Hotel (Mem_id,Hotel_id,credit_num)"
sql=sql & " VALUES "
sql=sql & "('" & nmemid & "',"
sql=sql & "" & nhotelid & ","
sql=sql & "" & ncrednum & ")"

on error resume next
conn.Execute sql,recaffected

But, i have the abouve error and please help me how to solve.
Reply With Quote
  #2 (permalink)  
Old 10-22-03, 00:59
Memnoch1207 Memnoch1207 is offline
Registered User
 
Join Date: Jan 2003
Location: Midwest
Posts: 138
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