Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RUN-TIME ERROR -2147467259

Status
Not open for further replies.

TNN

Programmer
Sep 13, 2000
417
US
I am trying to update a recordset and am getting a Run-Time error -2147467259 "INSUFFICIENT KEY COLUMN INFORMATION FOR UPDATING OR REFRESHING".

I am updating the recordset by using Bookmarks to move to a different record. The Database is access 2000.

This is working good in a different module but can't make work in this one.

Can anyone give me a clue on that error message??

Thank You,
TNN, Tom
TNPAYROLL@AOL.COM

TOM
 
Hi TNN,

I believe that your table has a multi column primary key and you have to use the complete key to update data in your table.

Hope this helps

JNC73
 
Hi JNC73,
Thank You for your input.

I had no keys assigned to either table but had multiple indexes assigned. I removed all the indexes but still get the same error message. My SQL stored procedure is as follows:

DisplayF2 PARAMETERS [Employee_Number] IEEEDouble;
SELECT DEDNAME, BASSDEDS.DEDNO, DEPT, TYPE, AMOUNT, MTD_AMT, QTD_AMT, YTD_AMT, EMPNO
FROM BASSDEDS INNER JOIN BASSDDED ON BASSDEDS.DEDNO = BASSDDED.DEDNO
WHERE EMPNO = [Employee_Number];

I am using ADO with my access 2000 Database.

Anyone??
Thank You,
TNN, Tom
TNPAYROLL@AOL.COM


TOM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top