Solved

Reset ID Records

Posted on 2008-10-03
7
1,161 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 - Microsoft MVP, Access and Data Platform) 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

860 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