View Single Post
  #7  
Old March 14th, 2010, 07:15 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 1,555
Default unique record numbers

Depending on your definition of "autonumber"...

If you mean what Access provides, we can almost guarantee there will be
"skipped" numbers.

If you mean a custom "autonumber" (lower case) function, it could ensure
that numbers are guaranteed sequential ... BUT! if someone were to delete a
record, there would still be a missing/skipped number!

Good luck

--

Regards

Jeff Boyce
Microsoft Access MVP

Disclaimer: This author may have received products and services mentioned in
this post. Mention and/or description of a product or service herein does
not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"accessnewbie79915" wrote in
message ...
I am new to access myself, but I do know enough to say that if you adopt
the
autonumber setup it would work better for you. However, do not skip
numbers
when building your database. The reason for this is that when it comes
time
to query your data into reports and forms, if you skip numbers it could
cause
problems pulling in the data that you want.

"Rev David Bissas" wrote:

I am trying to create a unique PIN for members in a table (not the
primary
key) that will be 4 digits long, and would like each new entry to be
incremental. I am very new, and would appreciate a detailed instruction
(though I can get around access fair enough). Any help would be
appreciated.