View Single Post
  #3  
Old December 12th, 2008, 11:04 PM posted to microsoft.public.access.tablesdbdesign
Patttt
external usenet poster
 
Posts: 15
Default update number field automatically?

Thanks for your quick reply, Doug. Unfortunately, the original data starts
with number 13, and if I do it this way, it starts with number 1. Is there a
way to get an autonumber field to start with #13? Pat

"Douglas J. Steele" wrote:

Create a new table identical to your existing table, except make the number
field an AutoNumber.

Append the existing table to the new table.

The next value for the AutoNumber field will be one more than the largest
value already used.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"Patttt" wrote in message
...
I have an existing table that has a number field as the primary key. I want
it to replicate the autonumber feature by adding the next number in
sequence
when a new record is added, but I can't change it to an autonumber field
and
keep the existing data. Can it be done? Thanks! Pat