Autonumbers

H

Hanne Otterdal

I've got a table Person with a primary key PersonID,
datatype Autonumber. After adding 70 records to the
table, suddenly the next PersonID was assigned the value
453054364 instead of increasing the autonumber with one.
Any ideas why??? With a PersonID this high, I get an
Overflow-error every time I try to search for a person...
 
D

Dan Artuso

Hi,
Auto numbers are guaranteed to be unique and not much else.
Their data type is long integer, so declare any variables you use
with them as Long.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top