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!

Numbering without "Auto-Number"

Status
Not open for further replies.

Mksmall

Technical User
Oct 18, 2001
18
US
Is it possible to make Access sequentially number new records inputed to a database thru a form without using auto-number. I have an AS400 database that I want to convert to Access. There are over 38,000 records with a unique contact number, but Access will not let me change the data type of this field to auto-number since there are already numbers there. Access wants to start at 1. Any help would be appreciated.
 
the only alternative i found to autonumber for incrementing a number is this placed in an event procedure

Dmax("[field]","
","[criteria]"]


 
You can either import the id field into the autonumber, or, you may need to import 1 record with the ID number you wish to start with and it will then increment from there. I've found ways around this issue in the past and there was something in the Access help file.

Ken
 
this article in the ms knowledge base might help

ACC2000: How to Use an Append Query to Set Initial Value of an AutoNumber Field (Q209696)
 
Thanks Jump

That was the easiest and it worked!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top