Solved

Updating more than one row in datagrid

Posted on 2002-03-20
3
146 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 100 total points
ID: 6890777
so you need to accept this now!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

776 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