This is perhaps slightly off-topic, but since your question has been
thoroughly answered (with 4 separate solutions, no less) I'd like to
challenge the necessity of having an *unbroken* sequential number -- or a
sequential number at all.
Sequential numbering is really a paper-based security system. Sales Order,
Purchase Order, Checks, and the like are numbered sequentially to make sure
that someone doesn't steal one from the middle of a pile of them.
Sequential numbers highlight this immediately because it's easy to see when
a number has been skipped.
However, when your system is electronic, paper-based security is as useful
as a screen door in a submarine. It does no good, causes other design
complications, and might possibly cause harm.
I know there are customers who believe they "need" sequential numbering for
some reason, but I always try to dissuade them. Sometimes it works
sometimes it doesn't, but I try.
Even though my sample was suggested as a good solution, to my mind Arvin's
suggestion of an Autonumber field is really the best solution and forget the
sequential gaps. They aren't worth worrying over.
--
--Roger Carlson
MS Access MVP
www.rogersaccesslibrary.com
http://rogersaccessblog.blogspot.com/
<Tara Metzger> wrote in message news:(E-Mail Removed)...
> Hello,
>
> I'm working on a survey database in Access 07 and am in need of some of
> your assistance. I need to develop a Registration # starting at a certain
> point. This is a 7-digit number (no alphas) where 8146614 is my first
> Registration #. Each time a Registration # is entered it is to increase
> by 1 and it needs to show the user the Registration # they are currently
> working on (in a form). Complicating matters is the possibility of
> multiple users entering data at the same time. Can you give me some ideas
> as to how I can accomplish this? This Reservation # is what links most of
> the tables together. My Reservation table information is below.
>
> tblReservation:
> ReservationNo - PK
> ContactLastName
> ContactFirstName
> CompanyName
> ComplexName
> AddressID
> ContactPhone
>
> Thank you for your help!
>
>
> Submitted via EggHeadCafe - Software Developer Portal of Choice
> Putting Twitter Realtime Search to Work
> http://www.eggheadcafe.com/tutorials...-realtime.aspx