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

re-ordering database

Status
Not open for further replies.

hindu

Programmer
Jan 17, 2000
1
GB
How do you insert records in to a database with numbered feilds and have it re-order itself
 
The db does not actually reorder itself physically, and you don't actually insert the record. Access always adds new records to the end of the file. When you read the records, you simply read them in order of the index(es) you open the record set with. If you use the Autonumber type, Access automatically adds each new record with the next sequential number. Each time you add a new record through the GUI, you update the related indexes as well. If you add a record through code, you open it using the indexes and Access updates the indexes for you. <br>
<br>
Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top