Results 1 to 2 of 2
  1. #1
    saigovind is offline Novice
    Windows XP Access 2003
    Join Date
    Feb 2011
    Posts
    1

    Thumbs up Query to Reset AutoNumber to 1 after full delete


    Please tell me the query to reset autonumber field to 1 after deleting all entries in a table.By searching google i could not get any answers.Please post the answer as soon as posible.Thanks in advance.

  2. #2
    maximus's Avatar
    maximus is offline Expert
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    After deleting all entries Compact and Repair your Database this will make your auto number to start from 1. To make it start from anyother number of your choice follow the link below check out this thread, Look at the last two post one by Sir Paul and the other by me this is a long one and may be in two pages. Hope this is what you are looking for.
    https://www.accessforums.net/forms/a...pens-5235.html

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 01-06-2011, 12:34 PM
  2. Reset imageBox on a form?
    By bosve73 in forum Forms
    Replies: 0
    Last Post: 08-11-2010, 07:16 AM
  3. How to reset layout column order?
    By GLykos in forum Queries
    Replies: 0
    Last Post: 07-27-2010, 11:26 AM
  4. How to Reset Comboboxes
    By bbarrene in forum Programming
    Replies: 5
    Last Post: 01-23-2010, 11:11 PM
  5. reset primary key
    By emilylu3 in forum Access
    Replies: 1
    Last Post: 12-09-2005, 03:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums