473,385 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

RecordSet updation

12
hi friends we have a ASP intranet system and its backend is in MSAccess now we r upgrading its back end with Oracle 8i.

and i have a problem regarding the record set updation

the code is as follows
Expand|Select|Wrap|Line Numbers
  1. Set rscustomer = server.CreateObject("ADODB.Recordset")
  2. rscustomer.Open sqlcustomer, MMToConn, 1, 3
  3. '----
  4. '----
  5.  
  6. '-----
  7.  
  8. if textnetworkid <> "" then
  9.  
  10. rscustomer.addnew
  11. rscustomer("custBadgeno") = textBadgeNo
  12. rscustomer("custNetworkid") = textnetworkid
  13. rscustomer("custWorktel") = textworktel
  14.  
  15. rscustomer.update
  16.  
the above code showing the error as follows***********************
Expand|Select|Wrap|Line Numbers
  1. Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype.   
  2.  
can anybody face this problem

if u have a solution plz forward the solution
Mar 23 '08 #1
2 1386
I had a look on Google:
http://www.google.com/search?q=Current+Recordset+does+not+support+updati ng

Does this one help:
http://www.vbforums.com/showthread.php?t=385832
Mar 23 '08 #2
jhardman
3,406 Expert 2GB
Try
Expand|Select|Wrap|Line Numbers
  1. Set rscustomer = server.CreateObject("ADODB.Recordset")
  2. rscustomer.Open sqlcustomer, MMToConn, 2, 3
  3.  
This makes the cursor dynamic, I think Access needs a dynamic recordset in order to update. Let me know if it helps.

Jared
Mar 25 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: shadab | last post by:
I wants Open Source Code of a Web site made in PHP for Updation of my Website.
1
by: AA | last post by:
We want to edit, update data of DataGrid in Asp.Net with VB.Net.and are writing the following code for EditCommand and UpdateCommand Event is : DataGrid1_EditCommand
0
by: Lakshmi Narayanan.R | last post by:
Hi Experts I am new to .NET. I need great explanation for "the updation in the disconnected data". How it is handled. That is, if mutiple user is interacting with the data, one will delete another...
1
by: Babz | last post by:
Hi, How I can prevent concurrent updation of a records in .net. I am using Dataset which is disconnected from the data source. In this situation if two users opens the same record, modifies the...
16
by: Vibhu | last post by:
Hello All, I am trying to update a database using dataset but seems that I am missing out something. After going through a lot of posts and checking my code, I am still at my wits end to figure...
0
by: prashant | last post by:
Hi, I am trying to set up Transactional replication with immediate updation. The configuration is as follows: 1. Publisher is SQL server 2000 Enterprise Edition, and Distributor is on the...
4
by: mmanojkumar | last post by:
Sir, I have a recordset "ADODC_path.recordset" which takes input from two tables When the field values are put into the textboxes and then edited and updated back into the tables, using the...
1
by: roshan56us | last post by:
Hi, i have problem in updation of access database, which is in backend and Visual basic as front end. its using 800 records in MS-Access but,while updating the database, it doesn't update sometime...
1
by: siri11 | last post by:
Hi everyone!!!!!!!!! If i update a record in a table in sqlserver from front end (c#.net),using a stored procedure for updating then after updation if i open the table then it is showing the same...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.