Solved

Reset ID Records

Posted on 2008-10-03
7
1,155 Views
Last Modified: 2011-10-19
I have been working with dummy data and now I want to start using the database for real.  How do I restart the auto numbering of my ID fields from 1?
0
Comment
Question by:Powerhousecomputing
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 75
ID: 22631921
Delete the auto number field in the table, then Compact & Repair the mdb, then recreate the auto number field ... which will result in what you need.

mx
0
 
LVL 77

Expert Comment

by:peter57r
ID: 22631924
Delete all records and compact and repair.
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
ID: 22631928
OR ... just delete ALL the records and then be sure to Compact and Repair ... then the AN will start from 1

mx
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:Powerhousecomputing
ID: 22631956
how do I compact and repair in 2007?
0
 
LVL 8

Expert Comment

by:mikainz
ID: 22632083
klick on microsoft menu, under organize you find compact and repair
0
 

Author Comment

by:Powerhousecomputing
ID: 22632098
yep found it - thanks
0
 
LVL 8

Expert Comment

by:mikainz
ID: 22632103
menu entry is called manage not organize
compact.jpg
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question