Multiple-step operation generated errors. Check each status value.
- From: frohlinger@xxxxxxxxx
- Date: 6 Jul 2006 05:33:30 -0700
Hi,
I am trying to add a new record to a client side recordset stored in
Session object.
For some reason I keep getting the same error:
"Multiple-step operation generated errors. Check each status value. "
My simple code is
Session("my_fav").AddNew
Session("my_fav")("BPID") = cInt(Request.QueryString("BPID"))
Session("my_fav")("Description") = Request.QueryString("Title")
Session("my_fav").Update
Whereas only the line of Session("my_fav")("BPID") = ... causes this
error.
BPID is an Database integer ID.
When I commented-out this line, the error is not displayed anymore.
I tried use cStr and cInt, but nothing works. I don't think it's a type
issue.
I've read all the posts regarding this error, and nothing helped...
The creation of the recordset (which works great) inside the Session
is:
Set Session("my_fav") = Server.CreateObject("ADODB.RecordSet")
Session("my_fav").LockType = adLockOptimistic
Session("my_fav").CursorType = adOpenStatic
Session("my_fav").CursorLocation = adUseClient
theSQL = "SELECT BPID, Description FROM Table... Where..."
Session("my_fav").Open theSQL , OBJdbConn
Session("my_fav").ActiveConnection = Nothing
Please help.
Thanks a lot!
Ann.
.
- Follow-Ups:
- Re: Multiple-step operation generated errors. Check each status value.
- From: Bob Barrows [MVP]
- Re: Multiple-step operation generated errors. Check each status value.
- Prev by Date: Re: Error 3251 using ADO & VBA to drop a table!
- Next by Date: Re: Error 3251 using ADO & VBA to drop a table!
- Previous by thread: Error 3251 using ADO & VBA to drop a table!
- Next by thread: Re: Multiple-step operation generated errors. Check each status value.
- Index(es):
Relevant Pages
|
|