Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > BOOK: Beginning Access VBA
|
BOOK: Beginning Access VBA
This is the forum to discuss the Wrox book Beginning Access 2002 VBA by Robert Smith, Dave Sussman, Ian Blackburn, John Colby, Mark Horner, Martin Reid, Paul Turley, Helmut Watson; ISBN: 9780764544026
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 7th, 2006, 04:49 AM
Authorized User
 
Join Date: Jun 2003
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default key column information is insufficient or incorrec

I am getting the message "key column information is insufficient or incorrect. Too many rows were affected by update," when I attempt to update.

I have a project that is linked to SQL Server 2000, in which I have constructed a view of two linked tables. They have the same PK in a one-to-one relationship. Access 2000 is linked to this view.

When I perform an identical update from SQL Server 2000, the change is successful.

I want to use Access 2000 so that I can construct user-friendly forms.


Thank you,
Daniel


Daniel Hutchins
Woodbridge, CA
http://www.finehomemadesoap.com
__________________
Daniel Hutchins
Stockton, CA
http://www.finehomemadesoap.com
 
Old November 20th, 2008, 04:24 PM
Registered User
 
Join Date: Nov 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have noticed that when you use ADO in VBA, this message appears when you either update the Key field, or you don't have a key field and you update the field that VBA has decided to use to uniquely identify your records. When I added a key field to my MS Access table, my code ran several times with an error.



Allan





Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining Which Column is Primary Key 1kHz SQL Language 4 August 16th, 2010 09:16 AM
Insufficient key column problem on discon rs MArgente Access VBA 10 June 25th, 2007 10:29 AM
Finding Primary Key Column in Script johnpirkey SQL Server 2000 9 April 26th, 2007 10:06 AM
Insufficient key column for updating or refreshing Adeguia Pro VB Databases 1 January 28th, 2005 10:10 PM
Insufficient key column information for updating.. BradLee31 Pro VB Databases 2 January 6th, 2005 08:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.