all groups > inetserver asp db > may 2007 >
You're in the

inetserver asp db

group:

access_asp Error Type:ADODB.Recordset (0x800A0CB3)Current Recordset does not support updating. This may be a limitation of the provider, or of the sel


access_asp Error Type:ADODB.Recordset (0x800A0CB3)Current Recordset does not support updating. This may be a limitation of the provider, or of the sel jksharmadelhi NO[at]SPAM gmail.com
5/6/2007 1:41:57 PM
inetserver asp db: CALL OPENDATACON
DIM RS
SET RS=SERVER.CreateObject ("ADODB.RECORDSET")
s="select * from dbpassenger order by ref_no"
CALL OPENRS(RS,S)
DIM RS1
dim aa
SET RS1=SERVER.CreateObject ("ADODB.RECORDSET")
s="select * from dbfare where flight_id='" & session("fid") & "'"
CALL OPENRS(RS1,S)
if rs.RecordCount >0 then
rs.MoveLast
aa=rs("ref_no") + 1
else
aa=1
end if
session("ref_no")=aa
DIM XX
xx=0
<% if len(trim(request("txtfname1")))>0 then
RS.AddNew
rs("ref_no")=CINT(aa)
rs("flight_id")=session("fid")
rs("first_name")=request("txtfname1")
rs("last_name")=request("txtlname1")
rs("sex")=request("sex1")
rs("age")=request("TXTage1")
if request("TXTage1")<12 then
xx=xx+rs1("fare_child")
else
xx=xx+ rs1("fare_adult")
end if
Re: access_asp Error Type:ADODB.Recordset (0x800A0CB3)Current Recordset does not support updating. This may be a limitation of the provider, or of the Bob Barrows [MVP]
5/6/2007 6:44:25 PM
[quoted text, click to view]
The rest of this code is irrelevant. The relevant part is in that
opendatacon sub. See here:

http://www.aspfaq.com/show.asp?id=2062

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Re: access_asp Error Type:ADODB.Recordset (0x800A0CB3)Current Recordset does not support updating. This may be a limitation of the provider, or of the Bob Barrows [MVP]
5/9/2007 9:47:17 AM
[quoted text, click to view]
It may, but in my experience, "updatable cursor" problems, unless being
caused by the SQL being used to open the recordset (multiple tables being
joined, calculated columns), are almost always caused by lack of permissions
for the folder containing the database, as described in the article.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Re: access_asp Error Type:ADODB.Recordset (0x800A0CB3)Current Recordset does not support updating. This may be a limitation of the provider, or of the Daniel Crichton
5/9/2007 2:24:11 PM
Bob wrote on Sun, 6 May 2007 18:44:25 -0400:

[quoted text, click to view]


I'd say it's in the OPENRS function - that's where the recordset is created,
and so will likely be where the additional properties need setting to make
the recordset updateable.

Dan

AddThis Social Bookmark Button