Forum Discussion

DEGAN1000's avatar
DEGAN1000
Copper Contributor
Aug 09, 2019

Microsoft Access Reusing Record ID's

I have a (Microsoft access office 365 database). I have a number of records in a table in the database. Lets say I have 5 records numbered 1 to 5 respectfully. now when I delete record number 3. Record number 3 is now gone. The problem I am having is when I create a new record I see that record number 3 is being used again as a record number despite the fact that record number 3 has been deleted. This to me should not be happening. I recently upgraded the Microsoft Access Database Engine redistributable 2016 on our server from 2010. Thinking this might resolve the problem. The data type and primary key for the archiveID field is AutoNumber. Please advise.
  • Spoiler
    Use your own record number field don't use the automatically generated id field.
    • DEGAN1000's avatar
      DEGAN1000
      Copper Contributor
      Unfortunately I use the autonumber as a record ID data type field in the table. I have about five hundred entries in the table. Even at this stage can I use my own record numbering system? I am not sure how to implement my own record numbering system.
  • testmuts's avatar
    testmuts
    Brass Contributor

    DEGAN1000 

     

    The autonumber field is not re-using numbers. You must have a other problem. 

    The number in the forms what is showing recordnumbers (on the bottom) is a count of records and not the autonumber as you mentioned. Maybe  your confusing those two. 

     

    Greetings,

     

    Marcel

     

     

Resources