Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Autonumber field type without adding records ? 1

Status
Not open for further replies.

Ktx7ca

IS-IT--Management
Apr 5, 2008
88
CA
Hello Everyone

I'm trying to use the Autonumber Field type in a table to autogenerate a number but without adding a new record. only the autonumber field is in the table. I know it dosn't really work that way. but that Idea is what I'm trying to acomplish.

I was trying to stay away from +1 to last number as 2 of the same number could be created.

I have front/Back end setup as there will be 4 computers using it. A couple of times a minute a new number will be needed (1000-2000 Numbers could be needed each day)


Any thoughts or ideas greatly apreciated

 
I think you'll need to give some more info to get help on that. Seeing as how you are wanting Access to do something that Access does not do, you need to give some details... give us some sample form fields, data fields, sample data, etc, showing the scenario of how exactly you want it to work.

--

"If to err is human, then I must be some kind of human!" -Me
 
I gave a code example here which will generate the next number in sequence without using AutoNumber and without the risk of two users getting the same number. The thread title's a bit misleading, my code's about halfway down the list.

Geoff Franklin
 
HI Alve

Thanks for the advice I whipped up my own verison based on your code and it works great.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top