codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  ADODB.Recordset error (0x800A0CB3)  xenofon at 10:18 on Monday, June 29, 2009
 

Hello,

i' m using the follwing code to retrieve data from an sqlserver and handle them with a recordset. The problem is that, when i try to modify data from recordset i get the error message:
"Error: ADODB.Recordset (0x800A0CB3)
Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype."

I try all the combinations of locking, but nothing seems to work out.
Is it the version of the sqloledb.dll (mine is 2000.85.1132.0)?
Do i need other driver that supports updateable recordset?
How can i know?
Please Help!

Here is the code:

<%
conSTRING="Provider=SQLNCLI;Server=" & srv_name & ";Database=" & database_name &";UID=uid;PWD=password;"

Set con = Server.CreateObject("ADODB.Connection")

con.Open conSTRING
set rs = server.CreateObject ("ADODB.Recordset")

do while not rs.EOF
rs("tradecode") = "123"
rs.update()
rs.MoveNext
loop

Set con = Nothing
set rs=nothing

%>








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  HIding a drop down list item at the click of a check box
•  CSC S-Frame V10 February 2012
•  !!!Latest crack software ftp download
•  Latest crack software ftp download
•  Re: Schlumberger.PTC.Siemens.EDS.CATIA.CIMATRON.AUTODESK
•  LINUX.MAC.UNIX.windows.x86.x64.2014.win7.win8.1.2014.
•  LINUX.MAC.UNIX.windows.x86.x64.2014.win7.win8.1.2014.
•  LINUX.MAC.UNIX.windows.x86.x64.2014.win7.win8.1.2014.
•  LINUX.MAC.UNIX.windows.x86.x64.2014.win7.win8.1.2014.


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2014