Solved

"insufficient key column information for updating or refreshing"

Posted on 2002-06-27
2
521 Views
Last Modified: 2009-12-16
I am using a ADO control to retrieve data from 2 tables on SQL Server 7.0. I am displaying the data in the form using code. Using the Recordset.Filter COMMAND I an getting 1(one) record. Later when I want to update 2 fields, I am encountering and error "Insufficient Key column for updating or refreshing."?

Will any one please help me to solve this problem as soon as possible.

0
Comment
Question by:mvarghese
  • 2
2 Comments
 
LVL 50

Accepted Solution

by:
Ryan Chong earned 40 total points
ID: 7115707
What is your SQL statement for your RecordSet? Besure you include a Unique Key (Primary key) in your SQL statement.
0
 
LVL 50

Expert Comment

by:Ryan Chong
ID: 7115760
Any reason why B is awarded, mvarghese?
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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…

785 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