Results 1 to 2 of 2
  1. #1
    handsomealso is offline Novice
    Windows Vista Access 2007
    Join Date
    Apr 2013
    Posts
    16

    primary key

    I have new database in this database i make primary key to field (ID NUMBER)



    I enter data in this database just copy and past

    If i enter any ID Number which is already in database , this database is stock

    how i avoid this problem and how i let this database to accept othe ID Number which is not in database and ignore other?

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You could import or Copy and Paste your data into a new, temporary table, which has the same structure as your "real" table, but no data in it.
    You can then do an Unmatched query between the temporary table and real table to find all the "new" records, and then use an Append Query to copy them to your "real" table.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. What is best for Primary key
    By tagteam in forum Access
    Replies: 3
    Last Post: 03-20-2013, 06:00 PM
  2. Primary key
    By Sara_IT in forum Access
    Replies: 2
    Last Post: 11-25-2011, 02:46 PM
  3. Primary Key
    By DukeBlue in forum Access
    Replies: 18
    Last Post: 09-23-2011, 05:23 PM
  4. Primary Key Help
    By phoenix13 in forum Access
    Replies: 4
    Last Post: 07-30-2009, 12:36 PM
  5. about the primary key!
    By Yuesko in forum Access
    Replies: 1
    Last Post: 05-29-2009, 04:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums