Solved

Reset ID Records

Posted on 2008-10-03
7
1,168 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 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

733 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