Solved

"insufficient key column information for updating or refreshing"

Posted on 2002-06-27
2
525 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
[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
2 Comments
 
LVL 52

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 52

Expert Comment

by:Ryan Chong
ID: 7115760
Any reason why B is awarded, mvarghese?
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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 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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

617 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