"insufficient key column information for updating or refreshing"

Posted on 2002-06-27
Medium Priority
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.

Question by:mvarghese
  • 2
LVL 56

Accepted Solution

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

Expert Comment

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

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
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…
Suggested Courses

621 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