Jerid said:
How isn't it for that use? I am looking to do the same thing.
We have a database and want autonumber for quote numbers. Moving from
paper to database. We left off with quote number 897 on paper and
need the database to start off at 898 so there is not duplicate
quotes from the paper.
If that's not what autonumber is for than Access should have
something for that. I followed Allans suggestion and it worked out
great.
Autonumber is designed to provide unique numbers to records. It does
not guarantee that the numbers will be consecutive, nor does it provide a
convenient way of filling in the blanks or changing existing numbers.
If you are 100% sure that for your use, no one will have problems with
the fact that a number or a group of numbers may be skipped, and all you
need is a unique number, go ahead and use it. I will warn you that in real
life unless you are the only one looking at the data, you are going to find
quite a few people upset over the missing number.
Access has the autonumber feature built in primarily to proved unique
numbers for linking tables.
There are several was of providing consecutive numbers (as opposed the
unique numbers) and which one may work best in your situation depends on
your needs. Most use the DMax function to find the highest existing number
and then adds one to it.