Solved

Updating more than one row in datagrid

Posted on 2002-03-20
3
151 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

734 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