Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Database Design / October 2006

Tip: Looking for answers? Try searching our database.

Create an Autonumber column in a table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Astello - 19 Oct 2006 16:38 GMT
How do I add an autonumber column to an already existing table?
John Vinson - 19 Oct 2006 18:27 GMT
>How do I add an autonumber column to an already existing table?

If you want to control the sequential order of the autonumber values,
the best solution is to copy your table, *design mode only*, to a new
table; add an autonumber field to the (empty) table, in table design
view; run an Append query to append all the data; drop all
relationships to the old table and build new relationships to the new
one.

                 John W. Vinson[MVP]
Astello - 31 Oct 2006 21:03 GMT
I messed with this table for so long that I'm not even sure what to
tell you I came up with, but I know I had too much data.  There were
almost 1 million lines combined, so I put them into notepad (as scrappy
as that sounds) and imported the whole thing at once, letting Access
add the primary key upon import.

> >How do I add an autonumber column to an already existing table?
>
[quoted text clipped - 6 lines]
>
>                   John W. Vinson[MVP]
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.