BUG: "Insufficient Key Column Information" While Updating ADO Recordset (815542)
The information in this article applies to:
- ActiveX Data Objects (ADO)
SYMPTOMSYou have a ADO Recordset that is populated with data from a
join query, and the table that is used in the join query does not have primary
keys. When you try to update the data of this recordset in the database, you
may receive the following error message: Run-time error
'-2147467259 (80004005)' : Insufficient key column information for
updating or refreshing. WORKAROUNDTo work around this problem, use server-side cursor to
update the recordset as follows: myCn.CursorLocation = adUseServer
myCn.Open
myRs.Open "Your SQL Query", myCn STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
REFERENCES For additional information, click the following
article number to view the article in the Microsoft Knowledge Base: 246905
BUG: Problem Updating ADO Hierarchical Recordset When Join Tables Share Same Column Name
Modification Type: | Major | Last Reviewed: | 5/10/2003 |
---|
Keywords: | kbDataObject kbProgramming kbCursor kbtable kbbug KB815542 kbAudDeveloper |
---|
|