Solved

"insufficient key column information for updating or refreshing"

Posted on 2002-06-27
2
519 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 49

Accepted Solution

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

Expert Comment

by:Ryan Chong
Comment Utility
Any reason why B is awarded, mvarghese?
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now