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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello I was wondering if there i

Status
Not open for further replies.

JSD

Technical User
Jan 18, 2002
189
US
Hello

I was wondering if there is a way to set a default in a number field to make the number act as an auto number on new records?

Any help would be interesting and helpful.

THanks

Jeremy
 
Hi!

not sure but try using Static Number
see help how to use it/

good luck

CUOK
 
Hi,

Personally, I'd use a seperate table that stores the last used number.

When a new record is stored - use vba to increment last number, store it in seperate table and insert it into your record field.

Why not use autonumber - it does exactly the same?

Regards,

Darrylle "Never argue with an idiot, he'll bring you down to his level - then beat you with experience." darrylles@totalise.co.uk
 
Hello

THanks for the point in the right direcxtion. What kind of expression could be used to increment the last number used?

THanks for your time

Jeremy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top