?
Solved

Reset ID Records

Posted on 2008-10-03
7
Medium Priority
?
1,175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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
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.

 

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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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 how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Suggested Courses

764 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