Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 13th, 2004, 10:42 AM
Registered User
 
Join Date: Aug 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to dekel78
Default Can't update DB Help!!!

when I write:
MyRs.Update I getthe followinf message:

Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype.


Best regards
Dekel
 
Old August 13th, 2004, 01:27 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Dekel,

How is that you open youe MyRs recordset? This is how is should be for any Add/Update/Delete operations. See the one marked in RED below.
Code:
MyRs.Open "Select * from TestTable", ObjConnection, adOpenKeyset, adLockOptimistic
Check if you are using the correct lock type.

Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
update db from dataset nikosnyc VS.NET 2002/2003 1 July 2nd, 2006 06:27 PM
date update from db keyvanjan Classic ASP Databases 0 May 6th, 2005 02:41 AM
update access db with dataset DennisGi ASP.NET 1.0 and 1.1 Basics 0 November 8th, 2004 04:43 AM
Dataset Merge then DB Update druid2112 ADO.NET 0 October 4th, 2004 08:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.