Results 1 to 4 of 4

Thread: Reset AutoNumber In access

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258

    Reset AutoNumber In access

    I know this has already been asked here.
    And I also know that MSDN says some wierd way of resettint the AutoNumber it should restart by 1. And I know that if there is No Records in the table it will reset by compacting.
    How Could I reset it even if I have 1 or 2 records in the tabe?

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    I don't think u can ...
    -= a peet post =-

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    It must be a way.
    How does the Jet engine store what has to be the next Number, maybe I could change that.

  4. #4
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    Well you could delete the realtionships based on the autonumber field, then delete the field. Add a new field as autonumber, rename it the same name as the original autonumber field. Finally recreate the relationships.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width