Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADO Data > Make a disconne...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 4221 of 4320
Post > Topic >>

Make a disconnected recordset editable

by "Barry Seymour" <bseymour@[EMAIL PROTECTED] > Apr 29, 2008 at 02:29 PM

Many thanks to Bob Barrows for help on my first problem ( see XML to ADO
Recordset and Back Again). Now here's another.

I am trying to create a disconnected, editable recordset from a stored
procedure call in VB6. I've Googled all the relevant code but I can't get 
anything
that will let me *edit* the recordset. I always get an error saying the
recordset cannot be edited:

Here are my steps:
1. Use ADO command to get a stored procedure.
2. Convert to an XML do***ent
3. When needed, create a new ADO Recordset, load XML into it
4. Try to insert/update/delete a row. I get this error:

   Run-time error '3251':
   Current Recordset does not sup****t updating. This may be a limitation
of 
the provider, or of the selected locktype.

The recordset comes from a stored procedure, not a table. I fetch it by
way
of an ADO command object. Are these indicators to ADO that the recordset
should be read-only?

I want to be able to edit the local recordset in order to avoid repeated
trips to the database for updated data.

Any help or pointers would be appreciated. Thanks in advance.

Barry
 




 6 Posts in Topic:
Make a disconnected recordset editable
"Barry Seymour"  2008-04-29 14:29:36 
Re: Make a disconnected recordset editable
"Bob Barrows [MVP]&q  2008-04-29 17:42:19 
Re: Make a disconnected recordset editable
"Barry Seymour"  2008-04-29 14:57:22 
Re: Make a disconnected recordset editable
"Bob Barrows [MVP]&q  2008-04-29 20:02:20 
Re: Make a disconnected recordset editable
=?Utf-8?B?THVjaW8gTS4gVGF  2008-05-24 09:16:32 
Re: Make a disconnected recordset editable
"Mark McGinty"   2008-05-24 14:15:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 15:12:50 CST 2008.