Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > BOOK: Beginning Access VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 7th, 2006, 04:49 AM
Authorized User
 
Join Date: Jun 2003
Location: Stockton, CA, USA.
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
Reply With Quote
  #2 (permalink)  
Old November 20th, 2008, 03:24 PM
Registered User
 
Join Date: Nov 2008
Location: Bronx, NY, USA.
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 09:10 PM
Insufficient key column information for updating.. BradLee31 Pro VB Databases 2 January 6th, 2005 07:49 PM



All times are GMT -4. The time now is 10:40 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.