Results 1 to 2 of 2
  1. #1
    jrmbach is offline Novice
    Windows 2K Access 2000
    Join Date
    Aug 2013
    Posts
    8

    Adding Auto Number field


    I have an inventory database with a table--tblInventory. I made the Description field the Primary Key. I have 250 records in the table. I realize now that I my work would be easier if I had added an Auto Number field and made it the Primary Key. Can I add an Auto Number field to the table and make it the Primary Key without damaging the data in the existing records? Will that add an Auto Number to the existing records? How?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Create a *new* table just like the old table but add the AutoNumber field and make it the PrimaryKey field. Then append your old table to this new table.

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

Similar Threads

  1. Null value in an auto-number field
    By mharkin in forum Import/Export Data
    Replies: 9
    Last Post: 10-03-2012, 07:43 AM
  2. Replies: 2
    Last Post: 03-30-2012, 07:39 AM
  3. Auto number a field
    By jenncivello in forum Access
    Replies: 2
    Last Post: 11-16-2011, 11:28 AM
  4. Replies: 9
    Last Post: 06-20-2011, 03:42 PM
  5. Replies: 4
    Last Post: 06-25-2010, 12:32 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