screaming_banjo
02-15-2005, 09:14 AM
Hi
I'm getting this error:
ADODB.Recordset error '800a0cb3'
Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype.
/rogues.asp, line 82
I'm using adlockoptimistic and thought that was acceptable, here's the code that I have:
Set rsRogDetail = Server.CreateObject("ADODB.Recordset")
rsRogDetail.Open "SELECT * FROM tblRogDetail WHERE rogID= "& request("rogID") &" ORDER BY rogContact", conn, adOpenKeyset, adLockOptimistic
IF request("cmdUpdate") > "" then
rsRogDetail("rogContact") = request("txtRogName") Line 82
rsRogDetail("rogContactEmail") = request("txtEmail")
rsRogDetail("rogBusTel") = request("txtBusTel")
rsRogDetail("rogMobTel") = request("txtMobile")
rsRogDetail.update
END IF
Is it anything to do with the 'Order by', can I not have an 'order by' if I'm updating the recordset?
Thanks
I'm getting this error:
ADODB.Recordset error '800a0cb3'
Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype.
/rogues.asp, line 82
I'm using adlockoptimistic and thought that was acceptable, here's the code that I have:
Set rsRogDetail = Server.CreateObject("ADODB.Recordset")
rsRogDetail.Open "SELECT * FROM tblRogDetail WHERE rogID= "& request("rogID") &" ORDER BY rogContact", conn, adOpenKeyset, adLockOptimistic
IF request("cmdUpdate") > "" then
rsRogDetail("rogContact") = request("txtRogName") Line 82
rsRogDetail("rogContactEmail") = request("txtEmail")
rsRogDetail("rogBusTel") = request("txtBusTel")
rsRogDetail("rogMobTel") = request("txtMobile")
rsRogDetail.update
END IF
Is it anything to do with the 'Order by', can I not have an 'order by' if I'm updating the recordset?
Thanks