Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Updating more than one row in datagrid

Posted on 2002-03-20
3
Medium Priority
?
173 Views
Last Modified: 2010-05-19
I want to update more than one row in datagrid.Single row updation is working perfect.But when i try to go to next rw it says insufficent key information for inserting or updating. Iam manually writing code for updation, so is it possible to capture the row change event of datagrid so i can prevent the datagrid from updating by itself?
Iam stuck up at this point, mabe one of u out there could figure an answer easily.
thanks ,
0
Comment
Question by:Rajesh_Vijayan
  • 2
3 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6882376
use a disconnected recordset (set rs.activeconnection = nothing)
0
 

Author Comment

by:Rajesh_Vijayan
ID: 6890391
Thanks,i have got it right from the solution u have provided.
rgds,
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 400 total points
ID: 6890777
so you need to accept this now!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question